First, the basic concept
http://my.oschina.net/u/204498/blog/528382
Second, installation
[[Email protected] ~]# rpm -qa|grep openldap*openldap-servers-2.4.23-34.el6_5.1.x86_ 64 => serveropenldap-clients-2.4.23-34.el6_5.1.x86_64 => clientopenldap-2.4.23-34.el6_5.1.x86_64[[email protected] ~]# cd /etc/openldap/[[email protected] openldap]# pwd/etc/openldap[[email protected] openldap]# lltotal 32drwxr-xr-x. 2 ldap ldap 4096 feb 3 2014 certs-rw-r--r--. 1 ldap ldap 280 Feb 3 2014 ldap.confdrwxr-xr-x 2 ldap ldap 4096 Nov 5 06:44 schema-rw-r--r-- 1 ldap ldap 4680 nov 9 09:55 slapd.conf-rw-r--r-- 1 ldap ldap 4635 nov 5 06:54 SLAPD.CONF-BAKDRWX------ 3 ldap ldap 4096 Nov 5 07:03 SLAPD.D Configuration [[email protected] openldap]# vim slapd.conf......database bdbsuffix "dc= Harry.com, dc=com " => this configures its own domain. harry.comcheckpoint 1024 15rootdn "Cn=admin, dc=harry.com, dc=com" = > This is the system administrator ...rootpw {ssha}p2fes0lmnc5w3r/xr7xldvrucriwhtb1 => rootpw default is Secret ... [[email protected] ~]# slappasswd => can generate a password ...
LDAP-OPENLDAP installation Configuration