<IfDefine HAVE_LDAP_USERDIR> <IfModule !mod_ldap_userdir.c> LoadModule ldap_userdir_module extramodules/mod_ldap_userdir.so </IfModule> </IfDefine> <IfModule mod_ldap_userdir.c> # * LDAPUserDir # The public subdirectory in users' home directories. # # Example: LDAPUserDir public_html # # * LDAPUserDirServer # The LDAP directory server that will be used for UserDir queries. # # Example: LDAPUserDirServer server.example.com # # * LDAPUserDirDNInfo # The DN and password that will be used to bind to the LDAP server when # doing UserDir lookups. # # If your LDAP directory server will allow an anonymous bind for # UserDir lookups, do not use LDAPUserDirDNInfo. # # Example: LDAPUserDirDNInfo cn=root,dc=example,dc=com dnpass # # * LDAPUserDirBaseDN # The base DN that will be used when doing LDAP UserDir lookups. # # Example: LDAPUserDirBaseDN dc=example,dc=com # # * LDAPUserDirFilter # A template that will be used for the LDAP filter when doing LDAP UserDir # lookups (%v is replaced with the username being resolved). # # Example: LDAPUserDirFilter "(&(uid=%v)(objectClass=posixAccount))" # # * LDAPUserDirSearchScope # The LDAP search scope ("onelevel" or "subtree") that will be used when doing # LDAP UserDir lookups. # # Example: LDAPUserDirSearchScope onelevel # # * LDAPUserDirUseTLS # Whether to use an encrypted (TLS/SSL) connection to the LDAP server. # # Example: LDAPUserDirUseTLS on </IfModule>