Windows 7 - Authenticated WebDAV over HTTPS...
I've got a relatively simple WebDAV file share set up for a variety of users at distributed locations who work for many different companies. In case someone at Microsoft is actually interested in making the WebDAV client in their newer operating systems (Vista, Windows 7) work properly with things other than SharePoint / IIS, here is how my WebDAV server is set up: the web server is Apache 2.2 (mod_dav) running on CentoOS 5.3 (nothing real special there). We authenticate users against an LDAP repository using their email address and a password (mod_ldap; again, nothing really special going on here). The site is only accessed via https so authentication and such are reasonably secure. My question is this: since I can easily use this WebDAV file sharing mechanism with every single WebDAV client I've ever used, including the built-in mechanisms in most modern operating systems (MacOS, various flavors of Linux, and even Windows XP), why on earth is it so hard to get this to work "built-in" in Windows 7? Vista seems to have problems with it as well and Windows 7 doesn't even seem to try properly (i.e., if I look at the access logs on the server, the initial request doesn't even ever show up even though Windows reports there was an authentication problem). I suspect it is a combination of the SSL and / or authenticating using an email address, but can't really tell for sure. Does anyone else use WebDAV like this? I can't imagine I'm the only one since it is such a useful tool (and not all of us out here use Windows / IIS / SharePoint because they're so much more expensive than "free" solutions). Don't get me wrong, I fully understand that there are many organizations that already have sharepoint and such and that that is the main target for "Web Folders", but some small businesses and tech-savvy (but broke) users such like to do things themselves. Not really trying to beat down on the folks building Windows 7 or anything --- just frustrated and trying to get someone to fix this little "problem" since it's something that works in Windows XP and many other operating systems out of the box. Thanks . Also any success stories with similar uses of WebDAV / https / with authentication are appreciated as well. Kendal.
October 20th, 2009 7:26pm

I think i have the same problem. Have you solved it yet by chance?Jeff V
Free Windows Admin Tool Kit Click here and download it now
October 23rd, 2009 11:36pm

I have the exact same thing and haven't found a clue at all yet. It does work at home, but behind a corporate firewall all fails.
October 29th, 2009 9:12am

I am still battling with this issue as well...has anyone come up with any working solutions aside from having to install a local webdav client?
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2010 8:41pm

Webfolders works fine from win7 pro to webdav (desknow.com) running on centos 5.x
January 14th, 2010 9:56pm

For what my two cents are worth: I'm having the same problem. I've set up several webDAV shares on a linux server (unknown flavor @ hostgator through cpanel) that work flawlessly from Windows XP Professional. I access one public folder via http and one private folder via https. I haven't mapped them to a drive, just put a shortcut on my desktop. But from Windows 7 Professional, it asks me for credentials, then tells me, "Folder does not appear to be valid." A netbook with Win7 Home gives me the same behavior. The server side obviously works. The Win7 client obviously doesn't. Same frustration... I write software and understand that sometimes necessary changes break other things, but I'm pretty disappointed that Win7 can't do webDAV. It seems like such a simple and straightforward thing to build and test. Please fix this and stick in a Windows Update package.
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2010 7:44pm

I'm dealing with authorization problems on Windows 7's WebDAV client as well. Basic authorization does not seem to be supported at all, changing the registry as mentioned in several forums and microsoft solutions has no effect at all. The Mini-Redir WebDAV client sends a Negotiate Authorization no matter what www-authenticate I'm sending in my 401 responses. What I've read in some other forum was to download the certificate if using ssl and importing it in certmgr.msc. That didn't fix my problems, maybe it'll be helpful to you guys tho. Best regards Susanne
June 17th, 2010 4:06pm

1.5 years after this bug was identified, and it still goes unaddressed. How did this get fixed in Vista and the fix dropped in Windows 7? Here is the MS fix for Vista: KB907306 Could someone please tell us when you expect this bug to get fixed?
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2010 12:01am

I have been having the same issue on a windows 7 32 bit client connecting to MS BPOS hosted Sharepoint but I noticed that a particular service seemed to be controlling this on the PC. The service in question is called "WebClient" on the machine I had the problem it was set to manual start and the service was stopped I could not access files via webdav. I restarted this set it to automatic and refreshed My computer and I could then access the folder again on Webdav. Does this fix it for anyone else?
June 30th, 2010 6:19pm

I am also having this issue. My setup is a RHEL 5.4 server running Apache 2.2.3 with Web Dav configured with basic authentication but using LDAP. The authentication must be done over SSL. I have a wildcard certificate setup and it includes all the necessary Root and intermediate certificates and works find in other browsers. While I can successfully connect to this service with Linux, Mac OS X, Windows XP, and even Windows Vista I can't get this to work well under Windows 7. Don't know if this will help but I went through all sort of posts and have tried many things and so far the only thing that leads to any sort of success is to change the following registry entry: HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\ServerNotFoundCacheLifeTimeInSec = 0 This allows me to setup the shortcut and use it until I either log off or restart. Once I restart and click on the shortcut created I just get prompted to authenticate that fails with a "Windows cannot access ..." error. The funny thing is if I create another shortcut then both of the shortcuts work during that login session. This is beyond frustrating and I can't understand why it's not fixed yet. Edit: I just noticed that if I use the Computer->Map network drive method to create the shortcut then that yields the above results. If I use net use * https://www.somedomain.edu/dav/demo1 to make the shortcut, it fails to reconnect on login but if I double click on it it prompts for my password and I can access it without having to re-setup the whole shortcut/connection. This might be a workable workaround/solution?
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 1:59pm

I am also having this issue. My setup is a RHEL 5.4 server running Apache 2.2.3 with Web Dav configured with basic authentication but using LDAP. The authentication must be done over SSL. I have a wildcard certificate setup and it includes all the necessary Root and intermediate certificates and works find in other browsers. While I can successfully connect to this service with Linux, Mac OS X, Windows XP, and even Windows Vista I can't get this to work well under Windows 7. Don't know if this will help but I went through all sort of posts and have tried many things and so far the only thing that leads to any sort of success is to change the following registry entry: HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\ServerNotFoundCacheLifeTimeInSec = 0 This allows me to setup the shortcut and use it until I either log off or restart. Once I restart and click on the shortcut created I just get prompted to authenticate that fails with a "Windows cannot access ..." error. The funny thing is if I create another shortcut then both of the shortcuts work during that login session. This is beyond frustrating and I can't understand why it's not fixed yet.
November 24th, 2010 2:00pm

Since I also have this issue with my provider based webdav storrage over https, i was wondering if there is fix or a workable work around for this (one that outlives the rboots). Any pointers welcome! Thanks in advance, Michel
Free Windows Admin Tool Kit Click here and download it now
January 7th, 2011 11:00am

I know it's been a long time since I posted this, but I finally found an answer: You can use the following URI to map the drive: net use * "\\<servername>@SSL\folder-name" /User:<username> <password> this seems to do the trick for me as long as windows already knows about the Self-Signed SSL cert and it's been put in the trusted ca certs certificate store. I hope this helps someone else. Kendal.
March 30th, 2011 10:31pm

I know it's been a long time since I posted this, but I finally found an answer: You can use the following URI to map the drive: net use * "\\<servername>@SSL\folder-name" /User:<username> <password> this seems to do the trick for me as long as windows already knows about the Self-Signed SSL cert and it's been put in the trusted ca certs certificate store. I hope this helps someone else. Kendal. First of all, where do you do this? In a command window (as admin). I get "The operation being requested was not performed because the user has not been authenticated." I presume this is on the server. I used the correct UID/pwd. This is so easy on a Mac. Why is everything so strange and difficult in Windows?
Free Windows Admin Tool Kit Click here and download it now
April 13th, 2011 4:55pm

Has this now been resolved?
May 4th, 2011 4:20am

Nope, I think this is just silly, these groups are full of this webdav issue, I mean really... I have a full signed cert and can't get a https mapping to work via BasicAuthLevel = 1 or two.Until later .... Brett
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 5:03am

Nope, I think this is just silly, these groups are full of this webdav issue, I mean really... I have a full signed cert and can't get a https mapping to work via BasicAuthLevel = 1 or two.Until later .... Brett
June 6th, 2011 5:03am

Nope, I think this is just silly, these groups are full of this webdav issue, I mean really... I have a full signed cert and can't get a https mapping to work via BasicAuthLevel = 1 or two.Until later .... Brett
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 5:03am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics