LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
Examples..................................................................................................................................222
LDAP Directory Tools.........................................................................................................................225
ldappasswd....................................................................................................................................225
Syntax.......................................................................................................................................225
Examples..................................................................................................................................225
ldapsearch......................................................................................................................................226
Syntax.......................................................................................................................................226
ldapsearch Options...................................................................................................................226
ldapmodify....................................................................................................................................226
Syntax.......................................................................................................................................227
ldapmodify Options.................................................................................................................227
ldapdelete......................................................................................................................................227
Syntax.......................................................................................................................................227
ldapdelete Options...................................................................................................................227
Schema Extension Utility....................................................................................................................229
Overview........................................................................................................................................229
The Benefits of the Schema Extension Tool..............................................................................229
How Does the Schema Extension Utility Work.............................................................................229
Operations Performed by the Schema Extension Utility.........................................................230
DTD and XML Files Used by ldapschema...............................................................................230
ldapschema — The Schema Extension Tool..................................................................................232
Syntax for ldapschema.............................................................................................................232
Required Command Options..............................................................................................232
Additional Options (Optional)............................................................................................233
Environment Variables.............................................................................................................235
Examples..................................................................................................................................235
An Example for Querying the Schema Status....................................................................235
An Example for Extending the New Schema into the Directory Server ............................235
Schema Definition File...................................................................................................................236
A Sample RFC3712.xml File ....................................................................................................237
Defining Attribute Types..........................................................................................................238
Attribute Type Definition Requirements.................................................................................239
Defining Object Classes............................................................................................................240
Object Class Definition Requirements.....................................................................................241
Predefined Schema Definition Files.........................................................................................241
Defining Directory Specific Information.......................................................................................242
An Example of Defining Directory Specific Information in the Attribute Type Definition....242
An Example of Defining Directory Specific Information in the Object Class Definition........243
LDAP Directory Server Definition File..........................................................................................244
An Example of the Directory Server Definition File................................................................244
Defining Matching Rules..........................................................................................................245
Defining LDAP Syntaxes..........................................................................................................245
Mapping Unsupported Matching Rules and LDAP Syntaxes......................................................246
Examples of Alternate Matching Rules and Syntaxes in /etc/opt/ldapux/map-rules.xml.......246
Return Values From ldapschema...................................................................................................248
Schema Status Messages..........................................................................................................248
Attribute Type Status Messages...............................................................................................250
Object Class Status Messages...................................................................................................253
Matching Rules Status Messages..............................................................................................254
LDAP Syntax Status Messages.................................................................................................255
Name Service Migration Scripts.........................................................................................................256
Naming Context.............................................................................................................................256
Migrating All Your Files................................................................................................................257
Migrating Individual Files.............................................................................................................257
Migration Scripts......................................................................................................................257
Table of Contents 9