LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

9.3.10.3 Specific return codes for ldapcfinfo...................................................................350
9.3.10.4 Examples.......................................................................................................352
9.4 LDAP directory tools........................................................................................................353
9.4.1 The ldapentry tool....................................................................................................354
9.4.1.1 Syntax.............................................................................................................354
9.4.1.2 Examples.........................................................................................................355
9.4.2 The ldappasswd tool................................................................................................356
9.4.2.1 Syntax............................................................................................................356
9.4.2.2 Examples........................................................................................................356
9.4.3 The ldapsearch tool.................................................................................................356
9.4.3.1 Syntax............................................................................................................356
9.4.3.2 ldapsearch options..........................................................................................357
9.4.4 The ldapmodify tool................................................................................................357
9.4.4.1 Syntax............................................................................................................357
9.4.4.2 ldapmodify options..........................................................................................358
9.4.5 The ldapdelete tool..................................................................................................358
9.4.5.1 Syntax............................................................................................................358
9.4.5.2 ldapdelete options...........................................................................................358
9.5 Schema extension utility...................................................................................................359
9.5.1 Overview................................................................................................................359
9.5.1.1 Benefits of the schema extension tool...................................................................359
9.5.2 How the schema extension utility works......................................................................359
9.5.2.1 Operations performed by the schema extension utility...........................................360
9.5.2.2 DTD and XML files used by ldapschema..............................................................360
9.5.3 The ldapschema (schema extension) tool.....................................................................361
9.5.3.1 Syntax for ldapschema......................................................................................361
9.5.3.1.1 Required command options.........................................................................361
9.5.3.1.2 Additional options (optional).......................................................................363
9.5.3.2 Security..........................................................................................................364
9.5.3.3 Environment variables.......................................................................................364
9.5.3.4 Examples........................................................................................................364
9.5.3.4.1 Example command for querying the schema status........................................364
9.5.3.4.2 Example procedures for extending the new schema into the directory server ....364
9.5.4 Schema definition file...............................................................................................365
9.5.4.1 Sample RFC3712.xml file ..................................................................................365
9.5.4.2 Defining attribute types.....................................................................................366
9.5.4.3 Attribute type definition requirements..................................................................367
9.5.4.4 Defining object classes.....................................................................................368
9.5.4.5 Object class definition requirements...................................................................369
9.5.4.6 Predefined schema definition files......................................................................369
9.5.5 Defining directory-specific information........................................................................369
9.5.5.1 Example of defining directory-specific information in the attribute type definition.......369
9.5.5.2 Example of defining directory-specific information in the object class definition.........370
9.5.6 LDAP directory server definition file............................................................................371
9.5.6.1 Example of the directory server definition file.......................................................372
9.5.6.2 Defining matching rules....................................................................................372
9.5.6.3 Defining LDAP syntaxes.....................................................................................372
9.5.7 Mapping unsupported matching rules and LDAP syntaxes.............................................373
9.5.7.1 Examples of alternate matching rules and syntaxes in
/etc/opt/ldapux/map-rules.xml....................................................................................373
9.5.8 Return values from ldapschema.................................................................................374
9.5.8.1 Schema status messages...................................................................................375
9.5.8.2 Attribute type status messages...........................................................................377
9.5.8.3 Object class status messages.............................................................................380
9.5.8.4 Matching rules status messages.........................................................................381
12 Contents