Various degrees Niang! All kinds of Song elder brother! Online tutorial uneven, lasted 1 days, finally completed, dare not exclusive, so, summed up to share, there are questions can leave a message, sparing ... Let's go
First, Yum installs the required package: Yum Install openldap-*-y
The latest packages are automatically installed:
Openldap-devel-2.4.23-26.el6.x86_64
Openldap-clients-2.4.23-26.el6.x86_64
Openldap-2.4.23-26.el6.x86_64
Openldap-servers-2.4.23-26.el6.x86_64
If a Yum error occurs during installation, see here: http://www.cnblogs.com/dadong616/p/5062727.html
Continue, the online various tutorials are in/etc/openldap/slapd.conf This file under various configurations, but I was puzzled to find that I did not have this file! On-line N more people looking for this file, unfortunately, only found one said this file after the LDAP update does not have this file anymore. It looks like it's going to be on the official website. But the internet is in this configuration, the new way we will not ah, so all kinds of search, Kung fu not negative, found a tutorial, thank you, is so deal with:
- # cp/usr/share/openldap-servers/slapd.conf.obsolete/etc/openldap/slapd.conf
Then there is the slapd.conf. Get excited, go on.
(5). Create the LDAP administrator password:
[Plain]View Plaincopy
- # SLAPPASSWD
CentOS 6.5 Configuration LDAP server + client!