Scientific Linux 6
Sponsored Link


  Install phpLDAPadmin and enable to operate LDAP server via Web Browser. httpd and PHP are needed to install.

[1] Install phpLDAPadmin
[root@master ~]#
yum --enablerepo=epel -y install phpldapadmin
# install from EPEL

[root@master ~]#
vi /etc/phpldapadmin/config.php
# line 397: uncomment, line 398: make it comment

[root@master ~]#
vi /etc/httpd/conf.d/phpldapadmin.conf

Alias /phpldapadmin /usr/share/phpldapadmin/htdocs
Alias /ldapadmin /usr/share/phpldapadmin/htdocs

<Directory /usr/share/phpldapadmin/htdocs>
  Order Deny,Allow
  Deny from all
  Allow from
# IP address you allow

  Allow from ::1

[root@master ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:   [  OK  ]
Starting httpd:   [  OK  ]
[2] Access to "http://(your hostname or IP address)/ldapadmin", then following screen is shown. Click "login".
[3] Authenticate LDAP admin user like follows.
[4] Just logined. It's possible to manage LDAP server on here.
Matched Content