phpLDAPadmin is an LDAP administration tool written in PHP.
phpLDAPadmin will connect to the directory with a static DN and password, and so will not request authentication anymore. The access to phpLDAPadmin will be protected by LemonLDAP::NG with specific access rules.
Just set the authentication type to config
and indicate DN and password inside the file config.php
:
$ldapservers->SetValue($i,'server','auth_type','config'); $ldapservers->SetValue($i,'login','dn','cn=Manager,dc=example,dc=com'); $ldapservers->SetValue($i,'login','pass','secret');
Configure phpLDAPadmin virtual host like other protected virtual host.
<VirtualHost *:80> ServerName phpldapadmin.example.com PerlHeaderParserHandler My::Package ... </VirtualHost>
Go to the Manager and create a new virtual host for phpLDAPadmin.
Just configure the access rules.
No headers are required.