HP-UX Directory Server 8.1 administrator guide

17.1.2 How to contact HP technical support.................................................................................543
17.1.3 HP authorized resellers.......................................................................................................543
17.1.4 Documentation feedback.....................................................................................................543
17.2 Related information.....................................................................................................................543
17.2.1 HP-UX Directory Server documentation set.......................................................................543
17.2.2 HP-UX documentation set...................................................................................................544
17.2.3 Troubleshooting resources...................................................................................................545
17.3 Typographic conventions............................................................................................................545
A LDAP data interchange format.................................................................................547
A.1 About the LDIF file format...........................................................................................................547
A.2 Continuing lines in LDIF..............................................................................................................548
A.3 Representing binary data.............................................................................................................548
A.3.1 Standard LDIF notation........................................................................................................548
A.3.2 Base-64 encoding..................................................................................................................549
A.4 Specifying directory entries Using LDIF......................................................................................549
A.4.1 Specifying domain entries....................................................................................................549
A.4.2 Specifying organizational unit entries.................................................................................550
A.4.3 Specifying organizational person entries.............................................................................551
A.5 Defining directories using LDIF...................................................................................................551
A.5.1 LDIF file example.................................................................................................................552
A.6 Storing information in multiple languages..................................................................................553
B Finding directory entries............................................................................................555
B.1 Finding entries using the Directory Server Console.....................................................................555
B.2 Using ldapsearch...........................................................................................................................556
B.2.1 Using special characters........................................................................................................556
B.2.2 ldapsearch command-line format.........................................................................................557
B.2.3 Commonly used ldapsearch options....................................................................................557
B.2.4 ldapsearch examples.............................................................................................................558
B.2.4.1 Returning all entries......................................................................................................558
B.2.4.2 Specifying search filters on the command line.............................................................558
B.2.4.3 Searching the root DSE entry........................................................................................558
B.2.4.4 Searching the schema entry..........................................................................................559
B.2.4.5 Using LDAP_BASEDN.................................................................................................559
B.2.4.6 Displaying subsets of attributes....................................................................................559
B.2.4.7 Specifying search filters using a file..............................................................................559
B.2.4.8 Specifying DNs that contain commas in search filters.................................................560
B.2.4.9 Using client authentication when searching.................................................................560
B.3 LDAP search filters.......................................................................................................................560
B.3.1 Using attributes in search filters...........................................................................................560
B.3.2 Using operators in search filters...........................................................................................561
B.3.3 Using compound search filters.............................................................................................561
B.3.4 Search filter examples...........................................................................................................561
B.4 Using persistent search.................................................................................................................562
B.4.1 An overview of persistent searches......................................................................................563
B.4.2 Running a persistent search..................................................................................................563
B.5 Searching an internationalized directory......................................................................................564
B.5.1 Matching rule filter syntax....................................................................................................564
B.5.1.1 Matching rule formats...................................................................................................564
B.5.1.1.1 Using an OID for the matching rule.....................................................................565
B.5.1.1.2 Using a language tag for the matching rule.........................................................565
B.5.1.1.3 Using an OID and suffix for the matching rule....................................................565
16 Table of Contents