The following content is reproduced from http://joyssue.blog.51cto.com/95711/285282
1. Delete the ldapdelete command.# Ldapdelete-X-D 'cn = root, Dc = it, Dc = com '-W' uid = qq1, Dc = it, Dc = com'
2. Re-index the LDAP database command slapindex#
Installation environment:
Redhat9.0
Install required software (both in source code mode)
Openldap-2.1.29 hrrp: // www.openldap.org
Derkeley dB 4.2.52 http://www.sleepycat.com
Installation steps:(Confirm that the user is logged on as the root user)
1
OpenLDAP directory to explain:
TOPLDAP installation directory:/USR/LOCAL/TOPLDAPTopldapMain program for |-SLAPD directory service|-SLURPD Directory Service Replication Program|-slapadd add data to the directory|-slapcat the entries in the directory
14.5 setting up a master-slave LDAP serverAt some point, you may want to set up multiple LDAP servers in order to load balance the LDAP server. The key issue for setting up multiple LDAP servers is the synchronization of data, using the SLURPD
Process format:/usr/sbin/slapd-G openldap-u openldap-F/etc/ldap/slapd. conf
Directory description:Topldap installation directory:/usr/local/topldapTopldap|-Main program of slapd Directory Service|-The program that the slurpd Directory Service copies|
Http://guodayong.blog.51cto.com/263451/d-2 Guo Dayong's Blog1: Modify the configuration fileOpen the comment in front moduleload Ppolicy.lamodulepath/usr/lib/openldapmodulepath/usr/lib64/openldap also precede the database config with these two
Note: In the Ubuntu 10.04 version, for example, the LDAP server and the client are the same machine, the latest OPENLDAP software server side has no separate configuration file, but the configuration information is saved in the database.
1. LDAP
Note: Taking Ubuntu10.04 as an example, the LDAP server and the client are the same machine. The latest openldap software server does not have a separate configuration file, but stores the configuration information in the database. 1. LDAP Server
Install OpenLDAP on Centos7
I. Environment preparationEchonameserver114.114.114.114>/etc/resolv. conf # Change dnsecho192.168.0.20.hello.com>/etc/hostssystemctldisablefirewalld. service & systemctlstopfirewalld. service # disable the firewall
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.