HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3332, November 2013)
Related information...............................................................................................................544
HP-UX Directory Server documentation set...........................................................................544
HP-UX documentation set..................................................................................................545
Troubleshooting resources.................................................................................................545
Typographic conventions.......................................................................................................545
A LDAP data Interchange Format.................................................................547
About the LDIF file format.......................................................................................................547
Continuing lines in LDIF.........................................................................................................548
Representing binary data.......................................................................................................548
Standard LDIF notation.....................................................................................................548
Base-64 encoding............................................................................................................549
Specifying directory entries Using LDIF....................................................................................549
Specifying domain entries.................................................................................................549
Specifying organizational unit entries.................................................................................550
Specifying organizational person entries.............................................................................551
Defining directories using LDIF................................................................................................551
LDIF file example.............................................................................................................552
Storing information in multiple languages................................................................................553
B Finding Directory Entries..........................................................................555
Finding entries using the Directory Server Console....................................................................555
Using ldapsearch..................................................................................................................556
Using special characters...................................................................................................556
ldapsearch command-line format.......................................................................................557
Commonly used ldapsearch options...................................................................................557
ldapsearch examples........................................................................................................558
Returning all entries.....................................................................................................558
Specifying search filters on the command line.................................................................558
Searching the root DSE entry........................................................................................559
Searching the schema entry..........................................................................................559
Using LDAP_BASEDN..................................................................................................559
Displaying subsets of attributes......................................................................................559
Specifying search filters using a file...............................................................................559
Specifying DNs that contain commas in search filters.......................................................560
Using client authentication when searching.....................................................................560
LDAP search filters................................................................................................................560
Using attributes in search filters..........................................................................................560
Using operators in search filters.........................................................................................561
Using compound search filters...........................................................................................561
Search filter examples.......................................................................................................562
Using persistent search..........................................................................................................562
An overview of persistent searches.....................................................................................563
Running a persistent search...............................................................................................563
Searching an internationalized directory..................................................................................564
Matching rule filter syntax.................................................................................................564
Matching rule formats..................................................................................................565
Using an OID for the matching rule...........................................................................565
Using a language tag for the matching rule...............................................................565
Using an OID and suffix for the matching rule............................................................565
Using a language tag and suffix for the matching rule.................................................566
Using wildcards in matching rule filters..........................................................................566
Supported search types....................................................................................................566
International search examples............................................................................................567
Less-than example.......................................................................................................567
Less-than or equal-to example.......................................................................................567
16 Contents