LDAP-UX Client Services B.04.10 Administrator's Guide (edition 7)
Syntax.......................................................................................................................................139
ldapmodify Options.................................................................................................................139
ldapdelete......................................................................................................................................140
Syntax.......................................................................................................................................140
ldapdelete Options...................................................................................................................140
Schema Extension Utility....................................................................................................................141
Overview........................................................................................................................................141
The Benefits of the Schema Extension Tool..............................................................................141
How Does the Schema Extension Utility Work.............................................................................141
Operations Performed by the Schema Extension Utility.........................................................142
DTD and XML Files Used by ldapschema...............................................................................142
ldapschema — The Schema Extension Tool..................................................................................144
Syntax for ldapschema.............................................................................................................144
Required Command Options..............................................................................................144
Additional Options (Optional)............................................................................................145
Security.....................................................................................................................................146
Environment Variables.............................................................................................................147
Examples..................................................................................................................................147
An Example for Querying the Schema Status....................................................................147
An Example for Extending the New Schema into the Directory Server ............................147
Schema Definition File...................................................................................................................148
A Sample RFC3712.xml File ....................................................................................................149
Defining Attribute Types..........................................................................................................150
Attribute Type Definition Requirements.................................................................................151
Defining Object Classes............................................................................................................152
Object Class Definition Requirements.....................................................................................153
Predefined Schema Definition Files.........................................................................................153
Defining Directory Specific Information.......................................................................................154
An Example of Defining Directory Specific Information in the Attribute Type Definition....154
An Example of Defining Directory Specific Information in the Object Class Definition........156
LDAP Directory Server Definition File..........................................................................................157
An Example of the Directory Server Definition File................................................................157
Defining Matching Rules..........................................................................................................158
Defining LDAP Syntaxes..........................................................................................................158
Mapping Unsupported Matching Rules and LDAP Syntaxes......................................................159
Examples of Alternate Matching Rules and Syntaxes in /etc/opt/ldapux/map-rules.xml.......159
Return Values From ldapschema...................................................................................................161
Schema Status Messages..........................................................................................................161
Attribute Type Status Messages...............................................................................................163
Object Class Status Messages...................................................................................................166
Matching Rules Status Messages..............................................................................................167
LDAP Syntax Status Messages.................................................................................................168
Name Service Migration Scripts.........................................................................................................170
Naming Context.............................................................................................................................170
Migrating All Your Files................................................................................................................170
Migrating Individual Files.............................................................................................................171
Migration Scripts......................................................................................................................171
Environment Variables.............................................................................................................172
General Syntax for Perl Migration Scripts................................................................................172
Examples........................................................................................................................................172
Unsupported Contributed Tools and Scripts......................................................................................174
beq Search Tool..............................................................................................................................174
Syntax.......................................................................................................................................174
Examples..................................................................................................................................174
certutil — Certificate Database Tool..............................................................................................176
Table of Contents 7