A brief introduction to the Ldapsearch command is useful when searching for an entry in LDAP, as long as you adjust the filter appropriately.The command is as follows:Ldapsearch-h hostname-p port-b basedn-d bind_dn [options] filter [attribute]
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#
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
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|
Install and configure OpenLDAP in RHEL7
Install and configure OpenLDAP in RHEL7
I. LDAP terminology
Entry: a separate unit, which is differentiated by DN (distinguish name ).
Attribute: the attribute of the entry. For example, if the entry is an
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
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
Introduction to OpenLDAP
The installation will not be mentioned, starting from the configuration.1. Main configuration file slapd. confThe content includes three types: Global, backend specific, and database specific. Global settings, backend server
Second, the OPENLDAP server clear-text primary and standby configuration2.1 Server SetupConfigure OpenLDAP Replication to continue Directory service if OpenLDAP master server would is down. OpenLDAP master server is called "Provider" and OpenLDAP
Http://blog.csdn.net/Borenbao/archive/2007/02/05/1502780.aspx
This article mainly describes how to use pkgadd to read and install the package program on Solaris 2.5, 2.6, and 7.In AnswerBook 2, we will discuss the package process in
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.