Pages

Welcome to My Blog

This is to share my IT experience with friends all around the world.
I have been working in Linux Fedora Systems for more than 8 years. Its fun to share knowledge and learn..
As everyone knows when a problem arises in your systems "googling" is the way that many depend on..

All the posts here are my working experiences during my working life.. So you can count on it..

I have added the references where I got help in solving IT issues


Sunday, September 16, 2018

LDAP and phpldapadmin


LDAP and Commands


I wanted to configure an openldap with phpldapadmin in CentOS 7. Earlier I used command line to create sub dcs for the ldap database and fed up with commands.On the other hand the GUI can be used to verify the commands which I have used to create/modify entries.

Commands I used:
To add entries
ldapadd -x -W -D "cn=youradmin,dc=yourdc" -f yourfile.ldif
To search components
apsearch -x 'uid=*' -b "dc=yourdomain"

phpldapadmin

It was very easy to install phpldapadmin by just adding the repo  'epel-release'

yum -y install epel-release

During the configuration, I has few minor issues due to firewall settings and SELinux but those were able to fix referring early experiences.

I suggest you to read the following reference to begin with the php LDAP administrator GUI.

Reference:
https://www.itzgeek.com/how-tos/linux/centos-how-tos/install-configure-phpldapadmin-centos-7-ubuntu-16-04.html

This reference is also very valuable but still I did not completely followed.
  https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-openldap-and-phpldapadmin-on-an-ubuntu-14-04-server

No comments:

Post a Comment