HP UX Red Hat Direry Server Software Using ldapsearch, Appendix B. Finding Directory Entries

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 572
Image 572

Appendix B. Finding Directory Entries

the tree, or right-click an entry, and select Search from the pop-up menu.

Figure B.2. Searching for Entries

TIP

See the online help for information on using the search form.

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.

2. Using ldapsearch

The ldapsearch command-line utility can 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. The search scope can include a single entry, an entry's immediate subentries, or an entire tree or subtree.

Search results are returned in LDIF format.

Red Hat Directory Server uses Mozilla LDAP tools, including ldapsearch. The MozLDAP tools are installed with Directory Server and are located in the /usr/lib/mozldap directory for Red

552

Page 572
Image 572
HP UX Red Hat Direry Server Software manual Using ldapsearch, Appendix B. Finding Directory Entries