Authentication always returns 401 on Windows Explorer's network mount (original) (raw)
Problem
Password authentication always returns 401 on Windows Explorer's network mount and net use command.
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
INFO - 192.168.0.2 "OPTIONS /" 200
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
INFO - 192.168.0.2 "PROPFIND /" 401
It worked well before, not working after deprecation of --auth-method.
Used command
dufs ./data -A -a admin:password@/:rw
net use * https://example.com/ password /user:admin
Environment:
- Dufs version: 0.38.0
- Browser/Webdav Info: Windows Explorer's network mount,
net use - OS Info: Windows 11 Pro 22H2