-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"rclone serve webdav" with password auth can't be mounted on windows #6596
Comments
Is windows expecting you to put the username / password in the URL? So this (for windows to prompt for the password)
Or maybe this (including the password).
Does that help? |
Neither of these address schemes work. There is also an option "Connect using different credentials", which brings up a prompt for username and password, but the same error appears afterward. |
Can you run rclone with -vv --dump bodies and see what windows is sending rclone. I think that works, if not a packet capture would be great. |
I had a mess about with this some more and I managed to replicate the problem Here is a packet capture
Windows does a A bit of searching to come up with a solution came up with this which points the finger at Windows (Note the site works properly with auth when used in Exporer, just not mapped as a drive). |
I am able to get it work, Locate the following directory:
|
@piyushgarg good work. Would you like to add this to the This needs to go in the source code here rclone/cmd/serve/webdav/webdav.go Line 62 in 450c366
|
bonus tip @ncw plz give me sometime, I will send a merge request. |
Ha! That's sharepoint.
👍 |
Pull Request #6660 |
Output of
rclone version
Describe the issue
rclone serve webdav
shares can't be mounted by Windows 10 if password auth is enabled, but works if password auth is disabled.To replicate:
htpasswd -c -B htpasswd user
and enter a passwordrclone serve webdav . --addr :8080 --htpasswd htpasswd
http://<server address>:8080/
in "Folder" field and select "Finish"--
rclone serve webdav . --addr :8080
http://<server address>:8080/
in "Folder" field and select "Finish"The text was updated successfully, but these errors were encountered: