Windows 7, HTTPS WebDav: Asks for password twice and fails. Any workarounds?
Posted
by
AutoDMC
on Server Fault
See other posts from Server Fault
or by AutoDMC
Published on 2010-11-29T04:56:37Z
Indexed on
2011/01/14
3:55 UTC
Read the original article
Hit count: 288
Howdy.
I have a Dav server running with PHP SabreDav (code.google.com/p/sabredav/wiki/Windows) on Cherokee at an HTTPS secured URL. It's set to use https, and uses Digest Authentication. I can log in with multiple browsers and a few third party clients (BitKinex and Java AnyClient can connect and browse as well, caveats below).
However, when attempting to log in with Windows 7 (surprise, surprise), it asks for my password twice, then tells me that my folder is invalid.
- I have verified that the server is using Digest authentication.
- I've verified multiple times that third party software can connect.
- I even went out and bought a GoDaddy SSL certificate so my SSL wouldn't be self signed anymore.
- I've applied the registry hacks here: support.microsoft.com/kb/943280 (Note that the article says the "fix" already exists for Windows 7, I just need magical registry hax to get it to work)
- I've applied the registry hacks here: support.microsoft.com/kb/941050
- I've applied the registry hacks here: support.microsoft.com/kb/841215 (Supposedly allows Basic Auth, which shouldn't apply, but why not?)
All to no avail; Windows continues to ask for my password twice, then state that "The folder you entered does not appear to be valid. Please choose another."
Try the command line? Sure:
- I've attempted to access with NET USE "https://dav.example.com/" password /USER:me (System error 59)
- I've attempted to access with NET USE "https://dav.example.com/" (System error 1790)
- I've attempted to access with NET USE "https://dav.example.com/subdir/" password /USER:me (System error 59)
- I've attempted to access with NET USE "https://dav.example.com/subdir/" (System error 1790)
- For good luck: ping dav.example.com ... works. And again, web browsers can access the share just fine, so can third party tools.
Best I can tell at this point is "HAHA, NO WEBDAV FOR YOU ON WINDOWS 7" which would be fine except everyone who will be using this application... uses Windows 7. And most are not as persistent or pugnacious as I am.
I feel like I've burned through every random suggestion I've found anywhere in the first 10 pages of Google on every search term I can think of. Any ideas? I need it to be Webdav, I need it to be over HTTPS, and I really do need a method to access it from Windows 7.
EXTRA DETAIL:
However, the "third party" programs I've tried have either been buggy, incomplete, or have silly ... "glitches." For example, BitKinex seems to fixate on any http error codes sent, so if there's a glitch reading a directory, BAM, that directory is always listed empty. Long directory listings also show up as blank, even though the transfer panel shows that directory listing is still taking place.
In any case, BitKinex is useless for development purposes for the reasons above. And besides, I'm building this for people other than myself, people who will want to get this dav share working "the regular way."
© Server Fault or respective owner