HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-2491, September 2012)
17.1.4 Documentation feedback..........................................................................................541
17.2 Related information........................................................................................................542
17.2.1 HP-UX Directory Server documentation set..................................................................542
17.2.2 HP-UX documentation set.........................................................................................543
17.2.3 Troubleshooting resources........................................................................................543
17.3 Typographic conventions................................................................................................543
A LDAP data Interchange Format.................................................................545
A.1 About the LDIF file format.................................................................................................545
A.2 Continuing lines in LDIF...................................................................................................546
A.3 Representing binary data................................................................................................546
A.3.1 Standard LDIF notation.............................................................................................546
A.3.2 Base-64 encoding..................................................................................................547
A.4 Specifying directory entries Using LDIF..............................................................................547
A.4.1 Specifying domain entries........................................................................................547
A.4.2 Specifying organizational unit entries........................................................................548
A.4.3 Specifying organizational person entries....................................................................549
A.5 Defining directories using LDIF.........................................................................................549
A.5.1 LDIF file example.....................................................................................................550
A.6 Storing information in multiple languages..........................................................................551
B Finding Directory Entries..........................................................................553
B.1 Finding entries using the Directory Server Console...............................................................553
B.2 Using ldapsearch............................................................................................................554
B.2.1 Using special characters...........................................................................................554
B.2.2 ldapsearch command-line format...............................................................................555
B.2.3 Commonly used ldapsearch options...........................................................................555
B.2.4 ldapsearch examples...............................................................................................556
B.2.4.1 Returning all entries..........................................................................................556
B.2.4.2 Specifying search filters on the command line......................................................556
B.2.4.3 Searching the root DSE entry.............................................................................557
B.2.4.4 Searching the schema entry..............................................................................557
B.2.4.5 Using LDAP_BASEDN.......................................................................................557
B.2.4.6 Displaying subsets of attributes..........................................................................557
B.2.4.7 Specifying search filters using a file....................................................................557
B.2.4.8 Specifying DNs that contain commas in search filters...........................................558
B.2.4.9 Using client authentication when searching.........................................................558
B.3 LDAP search filters...........................................................................................................558
B.3.1 Using attributes in search filters..................................................................................558
B.3.2 Using operators in search filters.................................................................................559
B.3.3 Using compound search filters...................................................................................559
B.3.4 Search filter examples..............................................................................................560
B.4 Using persistent search....................................................................................................560
B.4.1 An overview of persistent searches.............................................................................561
B.4.2 Running a persistent search......................................................................................561
B.5 Searching an internationalized directory............................................................................562
B.5.1 Matching rule filter syntax.........................................................................................562
B.5.1.1 Matching rule formats........................................................................................563
B.5.1.1.1 Using an OID for the matching rule...............................................................563
B.5.1.1.2 Using a language tag for the matching rule...................................................563
B.5.1.1.3 Using an OID and suffix for the matching rule................................................563
B.5.1.1.4 Using a language tag and suffix for the matching rule....................................564
B.5.1.2 Using wildcards in matching rule filters................................................................564
B.5.2 Supported search types............................................................................................564
B.5.3 International search examples...................................................................................565
B.5.3.1 Less-than example.............................................................................................565
16 Contents