HP-UX Directory Server 8.1 Administrator (766147-001, March 2014)

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