WebDAV authentication

I’d like to share a directory as simple WebDAV with authentication. I create a config file in /etc/apache2/ucs-sites.conf.d/keepass.conf

DavLockDB /var/www/keepass/DavLock
DocumentRoot /var/www/keepass
<Directory> "/var/www/keepass">
DAV On
</Directory>

But how to integrate the access settings? The share should only be accessible by a specific LDAP group.

Thank

Hey hidalgo,

I have not tested your specific use case, but we have two articles covering Apache LDAP-Auth:

  1. How To: Apache LDAP Auth with Encryption
  2. Cool Solution: Connect Apache to the LDAP

Best regards
Jan-Luca

Thank you very much. I did it with the Cool Solution.

Mastodon