LDAP administration commands

To add a user create an ldif file as below [root@host1 sherlock]# cat sherlock.ldif dn: uid=sherlock,ou=People,dc=test,dc=domain,dc=com uid: sherlock cn: sherlock objectClass: account objectClass: posixAccount objectClass: top objectClass: shadowAccount shadowMin: 0 shadowMax: 99999 shadowWarning: 7 loginShell: /bin/bash uidNumber: 2016 gidNumber: 2016 homeDirectory: /home/sherlock gecos: Holmes Shelrock shadowLastChange: 16610 userPassword: {SSHA}gqTy2GiM0mLO3rNuLfrHJHZaOD7/6TOk   Use the below command for … Continue reading LDAP administration commands

Advertisements

Steps to install and configure OpenLDAP in CentOS / RHEL Linux

The Lightweight Directory Access Protocol (LDAP) is a directory service protocol that runs on a layer above the TCP/IP stack.¬†LDAP is a solution to access centrally stored information over network. This centrally stored information is organized in a directory that follows X.500 standard. Following are the two most commonly used objects in OpenLDAP: cn (common … Continue reading Steps to install and configure OpenLDAP in CentOS / RHEL Linux