Linux – Windows is unable to remember login credentials for DAV network share

linuxwebdavwindows

I have a WebDAV server running on a linux server through Apache, which I am then attempting to map on a windows machine.

The mapping works fine, I provide my credentials and it logs me in, but the windows machines are unable to remember my credentials and I am forced to hit the "Login" button every time I open a new document, as well as when the machine is turned on or woken up from sleep mode. On machines running anything lower then Windows 7, I am also forced to manually type my username and password into the login box for every resource used in a document (such as images in a word document and similar).

My apache setup uses Digest authentication with the following config;

    Alias /group /home/webdav/group
    <Location /group>
            DAV On
            AuthType Digest
            AuthName "group"
            AuthUserFile /home/webdav/users/group-password
            Require valid-user
    </Location>

I don't think the config is the reason for this odd behavior, but more that windows is unable to automatically respond to requests for login credentials (and in the situation with the machines running Vista and lower that they can't even save them for some odd reason).

Best Answer

May be mapping to a network drive can help?

net use x: "http://server.net:80/folder" /persistent:yes /User:<user> <password>

Note, that Windows XP doesn't support mapping to root directly, only to subfolders