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