LDAP-UX Client Services B.04.15 Administrator's Guide

6.3.6.8 Examples.......................................................................................................................183
6.3.7 The ldapugdel Tool................................................................................................................185
6.3.7.1 Removing Attributes Only............................................................................................185
6.3.7.2 Synopsis ........................................................................................................................185
6.3.7.3 Options..........................................................................................................................185
6.3.7.4 Arguments.....................................................................................................................186
6.3.7.5 Specific Return Codes for ldapugdel............................................................................188
6.3.7.6 Security Considerations................................................................................................189
6.3.7.7 Limitations.....................................................................................................................189
6.3.7.8 Examples.......................................................................................................................189
6.3.8 The ldapcfinfo Tool................................................................................................................191
6.3.8.1 Synopsis.........................................................................................................................191
6.3.8.2 Options..........................................................................................................................191
6.3.8.3 Specific Return Codes for ldapcfinfo............................................................................193
6.3.8.4 Examples.......................................................................................................................194
6.4 LDAP Directory Tools...................................................................................................................196
6.4.1 ldapentry...............................................................................................................................196
6.4.1.1 Syntax............................................................................................................................197
6.4.1.2 Examples.......................................................................................................................197
6.4.2 ldappasswd............................................................................................................................198
6.4.2.1 Syntax............................................................................................................................198
6.4.2.2 Examples.......................................................................................................................198
6.4.3 ldapsearch..............................................................................................................................199
6.4.3.1 Syntax............................................................................................................................199
6.4.3.2 ldapsearch Options........................................................................................................199
6.4.4 ldapmodify............................................................................................................................200
6.4.4.1 Syntax............................................................................................................................200
6.4.4.2 ldapmodify Options......................................................................................................200
6.4.5 ldapdelete..............................................................................................................................201
6.4.5.1 Syntax............................................................................................................................201
6.4.5.2 ldapdelete Options........................................................................................................201
6.5 Schema Extension Utility...............................................................................................................202
6.5.1 Overview...............................................................................................................................202
6.5.1.1 The Benefits of the Schema Extension Tool...................................................................202
6.5.2 How Does the Schema Extension Utility Work.....................................................................202
6.5.2.1 Operations Performed by the Schema Extension Utility..............................................203
6.5.2.2 DTD and XML Files Used by ldapschema....................................................................203
6.5.3 ldapschema The Schema Extension Tool..........................................................................205
6.5.3.1 Syntax for ldapschema..................................................................................................205
6.5.3.1.1 Required Command Options................................................................................205
6.5.3.1.2 Additional Options (Optional)..............................................................................206
6.5.3.2 Security..........................................................................................................................207
6.5.3.3 Environment Variables..................................................................................................208
6.5.3.4 Examples.......................................................................................................................208
6.5.3.4.1 An Example for Querying the Schema Status.......................................................208
6.5.3.4.2 An Example for Extending the New Schema into the Directory Server ..............208
6.5.4 Schema Definition File...........................................................................................................209
6.5.4.1 A Sample RFC3712.xml File .........................................................................................210
6.5.4.2 Defining Attribute Types...............................................................................................211
6.5.4.3 Attribute Type Definition Requirements......................................................................212
6.5.4.4 Defining Object Classes.................................................................................................213
6.5.4.5 Object Class Definition Requirements..........................................................................214
6.5.4.6 Predefined Schema Definition Files..............................................................................214
6.5.5 Defining Directory Specific Information...............................................................................215
8 Table of Contents