phpLDAPadmin (also known as PLA) is a web-based LDAP client. It provides easy, anywhere-accessible, multi-language administration for your LDAP server.
Its hierarchical tree-viewer and advanced search functionality make it intuitive to browse and administer your LDAP directory. Since it is a web application, this LDAP browser works on many platforms, making your LDAP server easily manageable from any location.
phpLDAPadmin is the perfect LDAP browser for the LDAP professional and novice alike. Its user base consists mostly of LDAP administration professionals.

 

How to install phpldapadmin on ubuntu :

apt-get update
apt-get install ldap-utils phpldapadmin libapache2-mod-php5 apache2 php-xml-parser php5-gd php5-ldap php5-common php5 php-cli

How to install phpldapadmin on Centos :

yum install httpd httpd-devel phpldapadmin php-common php php-cli http-parser

Edit  file: /etc/phpldapadmin/config.php and modify below lines:

vi /etc/phpldapadmin/config.php
$servers = new Datastore();
$servers->newServer('ldap_pla');
$servers->setValue('server','name','My LDAP Server');
$servers->setValue('server','host','10.192.8.170');
$servers->setValue('server','base',array('dc=example,dc=testlab'));
$servers->setValue('login','bind_id','cn=manager,dc=example,dc=testlab');
$servers->setValue('login','auth_type','session');

Now you will be able to access http://www.yourserver.com/phpldapadmin

You can modify default templetes for home direcotries and shells.

/etc/phpldapadmin/templates/creation/posixAccount.xml

Errors :

After installation phpLDAPadmin on my Ubuntu 14.04 i am getting
Error trying to get a non-existent value (appearance, password_hash) in LDAP

Solution:

Open template file /usr/share/phpldapadmin/lib/TemplateRender.php in your favorite

sudo vi /usr/share/phpldapadmin/lib/TemplateRender.php

Search line:

$default = $this->getServer()->getValue(‘appearance’,’password_hash’);

and change it to :
$default = $this->getServer()->getValue(‘appearance’,’password_hash_custom’);

and save that file and reload browser it will not show this error.

Free Web Hosting