Pages

Tuesday, November 18, 2014

insall phpLDAPadmin on centos 6



 Install and Configure phpLDAPadmin

Add EPEL repository

rpm -ivh http://mirrors.ukfast.co.uk/sites/dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


 

Install phpLDAPadmin

yum install -y phpldapadmin

 

Allow access from your network

vim  /etc/httpd/conf.d/phpldapadmin.conf


Order Deny,Allow
Deny from all
Allow from 127.0.0.1 10.0.0.0/24
Allow from ::1

Allow from192.9.18.25




Disable automatic login mechanism
nano /etc/phpldapadmin/config.php



Comment out the following (line 398)

//$servers->setValue('login','attr','uid');

Setup HTTPD service

chkconfig httpd on 

service httpd start


 



Log in to phpLDAPadmin

http://localhost/ldapadmin


No comments:

Post a Comment