Using ldapsearch
On Directory Server Console, select the Directory tab.
3.
Depending on the DN you used to authenticate to the directory, this tab
displays the contents of the directory that you have access permissions to
view. You can browse through the contents of the tree, or right-click an entry,
and select Search from the pop-up menu. See the online help for information
on using this feature.
CAUTION Do not modify the contents of the
Using ldapsearch
You can use the
entries. This utility opens a connection to the specified server using the specified
distinguished name and password and locates entries based on a specified search
filter. Search scopes can include a single entry, an entry's immediate subentries,
or an entire tree or subtree.
Search results are returned in LDIF format.
This section contains information about the following topics:
•
Using Special Characters
•
ldapsearch Command-Line Format
•
Commonly Used ldapsearch Options
•
ldapsearch Examples
Using Special Characters
When using the
values that contain characters that have special meaning to the command-line
interpreter (such as space [ ], asterisk [*], backslash [\], and so forth). When you
specify special characters, enclose the value in quotation marks (""). For example:
-D "cn=Barbara Jensen,ou=Product Development,dc=example,dc=com"
588
Red Hat Directory Server Administrator's Guide • May 2005
Directory tab unless instructed to do so by Red Hat Technical
Support.
command-line utility to locate and retrieve directory
ldapsearch
command-line utility, you may need to specify
ldapsearch
suffix using the
o=NetscapeRoot
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers