Open LDAP step by step installation and configuration
Satya Prakash 2 Comments Click here. http://blog.eduguru.in/ldap-basic-of-open-ldap-introduction-to-ldap/ Install Open LDAP: # yum install *openldap* -y Start the Services: # chkconfig --levels 235 ldap on # service ldap star, Convert passwd.file to ldif (LDAP Data Interchange Format) file, Create a domain ldif file (/etc/openldap/t4test.com.ldif), Create a ldap test user, Create LDAP root user password:, dc=com #2 uid: root #3 cn: Manager #4 objectClass: account Create a domain ldif file (/etc/openldap/t4test.com.ldif) # cat /etc/openldap/t4test.com.ldif dn: dc=t4test, dc=com dc: t4test description: LDAP Admin objectClass: dcObject objectClass: organizationalUnit ou: rootobject dn: ou=People, dc=com ou: People description: Users of t4test objectClass: organizationalUnit Import all users in to the LDAP Add the domain ldf file: # ldapadd -x -D "cn=Manager, dc=com' '(objectclass=*)', dc=com" -W -f /etc/openldap/root.ldif Enter LDAP Password: adding new entry "uid=root, dc=com" -W -f /etc/openldap/t4test.com.ldif Enter LDAP Password: adding new entry "dc=t4test, dc=com" #70 rootdn "cn=Manager, dc=com" #71 rootpw {SSHA}cWB1VzxDXZLf6F4pwvyNvApBQ8G/DltW Restart Services: # service ldap restart Create a test user: # useradd test1 # useradd test2 Set User's Password: # passwd test1 Changing pass, dc=com" Add the users: # ldapadd -x -D "cn=Manager, dc=com" adding new entry "ou=People, dc=com" adding new entry "uid=operator, dc=com" Repeat this for all the user. Restart the LDAP service # service ldap restart Print all the user information: # ldapsearch -x -b 'dc=t4test, dc=com"; Convert passwd.file to ldif (LDAP Data Interchange Format) file #/usr/share/openldap/migration/migrate_passwd.pl /etc/openldap/passwd.root /etc/openldap/root.ldif #/usr/share/openldap/migrati, dc=t4test, Import all users in to the LDAP, In this article we will learn about step by step installation and configuration of LDAP. To learn about Basic of LDAP, Install Open LDAP:, ldap Print all the user information:, Migrate local users to LDAP, open ldap, Open LDAP step by step installation, Open LDAP step by step installation and configuration, ou=People, Restart ldap Services:, Restart the LDAP service, Start the ldap Services:, Update /etc/openldap/slapd.conf for the root password:, Update root.ldif file for the "Manager" of LDAP Server
In this article we will learn about step by step installation and configuration of LDAP. To learn about Basic of
Read more