Using ldapsearch
588
Red Hat Directory Server Administrator’s Guide • May 2005
3.
On Directory Server Console, select the Directory tab.
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.
Using ldapsearch
You can use the
ldapsearch
command-line utility to locate and retrieve directory
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
ldapsearch
command-line utility, you may need to specify
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"
CAUTION
Do not modify the contents of the
o=NetscapeRoot
suffix using the
Directory tab unless instructed to do so by Red Hat Technical
Support.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...