Hi guys, I am trying to do the exact same thing. I used to have home directories shared off a UNC path with WebDAV using IIS6 and 2003 Server. Now I want to port it over to 2008 and IIS7.
Setup is as follows
-
2008 server standard running IIS7
-
An application pool called "WebDAV" has been created and uses the account "domain\binduser". This user has read permission to the root of the share.
-
The virtual directory
student has been created off the default web root. The physical path is
\\files\student where all the home directories are stored.
-
The virtual directory is set to run using the WebDAV application pool.
-
Windows Authentication is turned on for student and all other auth methods are off.
-
Directory Browsing is turned on for student
When I go to navigate to the page from any logged in client in our network, the user authentication box comes up. The WebDAV site I am trying to host is an intranet zone and i can confirm that the browser is sending the negotiation - I used wireshark to see what was happening in the auth process and I can see all the Negotiate HTTP headers
If I access the site from the server it is hosted on using http://localhost/student it logs in fine and uses the logged in user account. If I access the site from the server but use its hostname instead (its called vpn) http://vpn/student I get the same authentication prompt as if I were a remote machine.
As a test, I shared a directory C:\test on the web server and set it to the virtual path /test. I turned on Windows Authentication and turned off all other auth methods. I could access this share fine. The problems seem to only be happening with UNC shares.
Finally, if I use basic authentication, I can log in successfully - regardless if I am accessing from the server of from another PC. Basic auth is not ideal as it will prompt the users for their auth details and not pass them through using Kerberos/NTLM (or whichever auth method Windows decides to use).
I have read through many forums here and been googling for the last few days so this is really a last resort.
Thanks in advance :D