[NANOWEB DOCUMENTATION]

NANOWEB, the aEGiS PHP web server

mod_auth_ldap

This module allows to use authentication data from LDAP.

AuthLDAPServer = ldap.example.com
AuthLDAPBindDN = cn=%AUTH_USER%,ou=people,dc=example,dc=com
AuthLDAPMatchFilter = (&(attrfilter=val)(httpaccess=on))



In AuthLDAPBindDN, %AUTH_USER% is replaced with the actual login provided by the HTTP client. You may also use %AUTH_USER_U% and %AUTH_USER_D% if you want to allow user@domain type logins.

In order to activate the authentication to take place for one of the directories on your server, you must place the following two directives in one of the .nwaccess files:

AuthRealm = place some information here
AuthRequire = LDAP




NANOWEB, the aEGiS PHP web server