BackupPC - LDAP Auth

You need to configure the /etc/httpd/conf.d/BackupPC.conf file like below:

[...]

# ======================================
# CONFIGURATION LDAP(S) & USERFILE
# ======================================

<DirectoryMatch /usr/(share|libexec)/BackupPC/>

AuthName "BackupPC admin & LDAP Protected"

# For special user(s)
AuthType Basic
AuthUserFile /etc/BackupPC/users.htacess

# all authorized users from UserFile (file) AND LDAP (ldap
AuthBasicProvider file ldap

# LDAP setting
AuthLDAPURL ldap://ldap.subdomain.domain.org:389/dc=domain,dc=org?uid

# General settings
Require valid-user
#Satisfy any

</DirectoryMatch>

[...]

Then restart your webserver.

Documentation

https://adsm.org/lists/html/BackupPC-users/2013-02/msg00057.html

> Partager <