mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #307] Authentication always returns 401 on Windows Explorer's network mount #162
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @segln on GitHub (Dec 1, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/307
Problem
Password authentication always returns 401 on Windows Explorer's network mount and
net usecommand.Works well with web UI, Cyberduck, on Linux, etc.
So it is not network/LAN/DNS/web server configuration issue.
Checked it in two Windows devices on both the version from 4 months ago and the latest version of Windows, including on Windows Sandbox.
Without authentication, it works well.
Log
It worked well before, not working after deprecation of
--auth-method.Used command
dufs ./data -A -a admin:password@/:rwnet use * https://example.com/ password /user:adminEnvironment:
net use@sigoden commented on GitHub (Dec 7, 2023):
After pr #279 merged, dufs will set
www-authenticateas follows:The
www-authenticatecontains two challenges:DigestandBasic.But microsoft-webdav does not support www-authorize with multiple challenges. This has caused a problem.
Who would have thought that such a big company's products do not adhere to the HTTP standard.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate#syntax
@segln commented on GitHub (Dec 7, 2023):
Well, they are Microsoft!