Apache userdirs from LDAP

Debian Squeeze

Some­thing like the fol­low­ing should be enough. I had no trou­ble at all.

LDAPProtocolVersion   3
LDAPUserDirUseTLS     off
LDAPUserDirServer     ldap1.my.domain.com ldap2.my.domain.com
LDAPUserDirDNInfo     cn=bind-user,dc=my,dc=domain,dc=com apassword
LDAPUserDirBaseDN     ou=people,dc=my,dc=domain,dc=com
LDAPUserDirFilter     "(&(uid=%u)(objectClass=posixAccount))"
LDAPUserDir           public_html
LDAPUserDirCacheTimeout 31104000

The mod_ldap_userdir home­page is in github, the direc­tives page is what you’re look­ing for, https://github.com/jwm/mod_ldap_userdir/blob/master/DIRECTIVES

This entry was posted in Debian, OpenLDAP. Bookmark the permalink.

Comments are closed.