Install phpLdapAdmin

According OpenLDAP is installed and configured.

  • aptitude install phpldapadmin
  • Edit your apache configuration and add Include /etc/phpldapadmin/apache.conf in your virtualhost.
    With this configuration you'll have www.your-server.net/phpldapadmin.
  • If you want to change to www.your-server.net/ldap, edit /etc/phpldapadmin/apache.conf and change Alias /phpldapadmin .

In /etc/phpldapadmin/config.php you may change :

  • $ldapservers→SetValue($i,'server','host','localhost'); to set your LDAP server address, if not local.
  • Uncomment // $ldapservers→SetValue($i,'server','port','389'); and set port number if not running on standard port.
  • $ldapservers→SetValue($i,'server','base',array(' '));, to set your base DN : $ldapservers→SetValue($i,'server','base',array('dc=tchetch,dc=net'));.
    If you've openLDAP configured to support runtime configuration, you can set this value to array('dc=tchetch,dc=net', 'cn=config'), so you can configure from here (if you're logged with the olcRootDN set in olcDatabase={o}cn=config. See Install openLDAP with runtime configuration.
  • Uncomment # $ldapservers→SetValue($i,'login','dn','cn=Manager,dc=example,dc=com'); and set to the correct DN value.

This should be enough to start …

 
debian/phpldapadmin/install.txt · Last modified: 2008/10/16 15:11 by tchetch
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki