LDAP-UX Client Services B.05.00 Administrator's Guide
7.4.3.1 Syntax............................................................................................................................295
7.4.3.2 ldapsearch options........................................................................................................295
7.4.4 ldapmodify............................................................................................................................296
7.4.4.1 Syntax............................................................................................................................296
7.4.4.2 ldapmodify options.......................................................................................................296
7.4.5 ldapdelete..............................................................................................................................297
7.4.5.1 Syntax............................................................................................................................297
7.4.5.2 ldapdelete options.........................................................................................................297
7.5 Schema extension utility................................................................................................................298
7.5.1 Overview...............................................................................................................................298
7.5.1.1 Benefits of the schema extension tool............................................................................298
7.5.2 How the schema extension utility works..............................................................................298
7.5.2.1 Operations performed by the schema extension utility................................................299
7.5.2.2 DTD and XML files used by ldapschema......................................................................299
7.5.3 ldapschema (schema extension) tool.....................................................................................301
7.5.3.1 Syntax for ldapschema..................................................................................................301
7.5.3.1.1 Required command options..................................................................................301
7.5.3.1.2 Additional options (optional)................................................................................302
7.5.3.2 Security..........................................................................................................................303
7.5.3.3 Environment variables..................................................................................................304
7.5.3.4 Examples.......................................................................................................................304
7.5.3.4.1 An example for querying the schema status.........................................................304
7.5.3.4.2 An example for extending the new schema into the directory server .................304
7.5.4 Schema definition file............................................................................................................305
7.5.4.1 Sample RFC3712.xml file ..............................................................................................306
7.5.4.2 Defining attribute types................................................................................................307
7.5.4.3 Attribute type definition requirements.........................................................................308
7.5.4.4 Defining object classes...................................................................................................309
7.5.4.5 Object class definition requirements.............................................................................310
7.5.4.6 Predefined schema definition files................................................................................310
7.5.5 Defining directory-specific information................................................................................311
7.5.5.1 Example of defining directory-specific information in the attribute type definition....311
7.5.5.2 Example of defining directory-specific information in the object class definition.......312
7.5.6 LDAP directory server definition file....................................................................................313
7.5.6.1 Example of the directory server definition file.............................................................313
7.5.6.2 Defining matching rules................................................................................................314
7.5.6.3 Defining LDAP syntaxes...............................................................................................314
7.5.7 Mapping unsupported matching rules and LDAP syntaxes................................................315
7.5.7.1 Examples of alternate matching rules and syntaxes in
/etc/opt/ldapux/map-rules.xml................................................................................................315
7.5.8 Return values from ldapschema............................................................................................317
7.5.8.1 Schema status messages................................................................................................317
7.5.8.2 Attribute type status messages......................................................................................319
7.5.8.3 Object class status messages..........................................................................................322
7.5.8.4 Matching rules status messages....................................................................................323
7.5.8.5 LDAP syntax status messages.......................................................................................324
7.6 Name service migration scripts.....................................................................................................326
7.6.1 Naming context.....................................................................................................................326
7.6.2 Migrating all your files..........................................................................................................326
7.6.3 Migrating individual files......................................................................................................327
7.6.3.1 Migration scripts...........................................................................................................327
7.6.3.2 Environment variables..................................................................................................328
7.6.3.3 General syntax for perl migration scripts.....................................................................328
7.6.4 Examples................................................................................................................................328
7.7 Unsupported contributed tools and scripts..................................................................................330
10 Table of Contents