Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki
Configure WebDAV
Notes
- webdav has certain restrictions in windows. for it to be reliable on the lan, you have to not use ssl. restrict non-secured traffic to trusted networks using require directive in apache config
- Traffic from outside the lan should work on ssl-encrypted connections.
- If you accept outside clients to this service, they may need a 3rd party client
- There is no permission system. One way to get permissions is to maintain multiple webdav sites, and use require user @group in apache config to restrict access
- Everything works browser side- Authentication and encryption
System Prep
- apt-get install cadaver
Configure Apache
- vi /etc/apache2/sites-available/files.computerisms.com.conf
- touch /Computerisms/sites/DAVLock.db
- chown files:files /Computerisms/sites/DAVlock.db
- mkdir /var/log/apache2/files.computerisms.com/
- chown root:adm /var/log/apache2/files.computerisms.com/
- a2ensite files.computerisms.com.conf
- a2enmod dav dav_fs dav_lock
- /etc/init.d/apache2 restart
- samba-tool dns add houselian computerisms.com files A 192.168.26.10
Test webDAV
- cadaver http://files.computerisms.com <= This command should request your network username and password, brings you to a prompt:
dav:/> quit - cadaver https://files.computerisms.com <= This command should require you to accept a certificate, then request your network username and password, then bring you to a prompt:
dav:/> quit
Configuring Windows
- Install this: http://www.microsoft.com/en-us/download/details.aspx?id=15123
- webDAV folder is mounted as W in logon Script, CA cert should be loaded through GPO
- Manually: start=>right-click Computer=>map network drive=>Select W for Drive letter=>Enter in the folder field: http://files.computerisms.com=>select Reconnect at logon=>Finish Button
With SSL
- Same as above, except use https
- Can't get it to work from inside the lan => FQDN problem.
- make sure the CA is loaded into adminlian.
- make sure webclient is on in windows
- configure windows to use basic auth:
- windows+r=>regedit.exe=>yes=>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters=>dblclickBasicAuthLevel=>set Value=2=>OK=>reboot
- http://support.microsoft.com/kb/943280
- http://support.microsoft.com/kb/941050
- http://support.microsoft.com/kb/841215
- http://support.microsoft.com/kb/977262