ldapsearch TablesThe following table describes the difference between uppercase and lowercase parameters that can be used for ldapsearch.
Number of references
Use
-?
Print help on using Ldapsearch.
ldapsearch Parameter TableThe following table can be used to describe the description of Ldapsearch write and lowercase references.
Number of references
Use
-?
Print help on using Ldapsearch.
-A
ldapsearch Parameter TableThe following table describes the case-sensitive parameters that can be used for ldapsearch.
Parameters
Use
-?
Print help on using Ldapsearch.
-A Deref
Specifies an alias
ldapsearch Parameter TableThe following table can be used to describe the description of Ldapsearch write and lowercase references.
Number of references
Use
-?
Print help on using Ldapsearch.
-A
Parameters
Use
-?
Print help on using Ldapsearch.
-A Deref
Specifies the alias reverse reference. Please enter never, always, search, or find. If you do not use this parameter, the default is never.
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]
There will be countless accounts for a variety of systems in an enterprise. one of the better solutions is to use LDAP. However, to verify whether Microsoft's ActiveDirectory authentication is successful, you can use the ldapsearch command.
First
Installation and use of the LDAP server-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Install with the source code as the root user
Because openldap requires the use of Berkeley DB to
OpenLDAP compilation and installation and configuration, openldap compilation Configuration
Original article published in cu:
Reference:I. Environment
Server: CentOS-7-x86_64-1511 based
Server IP: 172.18.12.2032. The software obtains
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#
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.