![]() ![]() The scope of the search ( -s) is base, and the part of the directory searched is the base DN ( -b) designated. This command searches the directory server myhost, located at port 389. Syntax ldapsearch filter Įxample ldapsearch -h myhost -p 389 -s base -b "ou=people,dc=acme,dc=com" \ ldapsearch opens a connection to a directory, authenticates the user performing the operation, searches for the specified entry, and prints the result in a format that the user specifies. Use the command-line tool ldapsearch to search for specific entries in a directory. This command authenticates user orcladmin to the directory server myhost located at port 389, using the password welcome. Syntax ldapbind Įxample ldapbind -h myhost -p 389 -D "cn=orcladmin" -w welcome You can also use ldapbind to find out if the server is running. Use the command-line tool ldapbind to authenticate to a directory server. The section "Optional Arguments for Command-Line Tools", immediately following, defines the optional arguments used in the command descriptions and examples. This section introduces six popular command-line tools. Optional Arguments for Command-Line Tools.The appendix covers the following topics: ![]() The LDAP C-API provides a number of simple command-line tools that together cover all three categories. LDAP protocol operations are divided into three categories: authentication, interrogation, and update and control. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |