HP-UX Directory Server 8.1 administrator guide

3.1.3.2 Adding an attribute to an entry....................................................................................107
3.1.3.3 Adding very large attributes ........................................................................................110
3.1.3.4 Adding and removing attribute values.........................................................................111
3.1.3.5 Adding an attribute subtype.........................................................................................111
3.1.3.5.1 Language subtype.................................................................................................112
3.1.3.5.2 Binary subtype......................................................................................................113
3.1.3.5.3 Pronunciation subtype..........................................................................................113
3.1.4 Deleting directory entries......................................................................................................113
3.2 Managing entries from the command line....................................................................................114
3.2.1 Providing input from the command line..............................................................................114
3.2.2 Creating a root entry from the command line......................................................................115
3.2.3 Adding entries using LDIF....................................................................................................115
3.2.4 Adding and modifying entries using ldapmodify................................................................115
3.2.4.1 Adding entries using ldapmodify.................................................................................116
3.2.4.2 Modifying entries using ldapmodify............................................................................116
3.2.5 Deleting entries using ldapdelete..........................................................................................117
3.2.6 Using special characters........................................................................................................118
3.3 Tracking modifications to directory entries..................................................................................118
3.4 LDIF update statements................................................................................................................120
3.4.1 Adding an entry using LDIF.................................................................................................121
3.4.2 Renaming an entry using LDIF.............................................................................................122
3.4.2.1 A Note on Renaming Entries.........................................................................................123
3.4.3 Modifying an entry using LDIF.............................................................................................123
3.4.3.1 Adding attributes to existing entries using LDIF..........................................................123
3.4.3.2 Changing an attribute value using LDIF.......................................................................124
3.4.3.3 Deleting all values of an attribute using LDIF..............................................................125
3.4.3.4 Deleting a specific attribute value using LDIF..............................................................125
3.4.4 Deleting an entry using LDIF................................................................................................125
3.4.5 Modifying an entry in an internationalized directory..........................................................126
3.5 Maintaining referential integrity...................................................................................................126
3.5.1 How referential integrity works............................................................................................126
3.5.2 Using referential integrity with replication...........................................................................127
3.5.3 Enabling and disabling referential integrity.........................................................................127
3.5.4 Modifying the update interval..............................................................................................130
3.5.5 Modifying the attribute list...................................................................................................131
3.6 Assigning and managing unique numeric attribute values..........................................................132
3.6.1 Overview of unique number assignments............................................................................132
3.6.1.1 How the Directory Server manages unique numbers...................................................132
3.6.1.2 Using DNA to assign values to attributes.....................................................................133
3.6.1.3 Using the DNA plug-in with replication......................................................................134
3.6.2 Looking at the DNA plug-in syntax......................................................................................134
3.6.3 Configuring unique number assignments............................................................................136
3.6.3.1 Configuring unique number assignments....................................................................136
3.6.3.2 Editing the DNA plug-in in the console........................................................................137
3.7 Enforcing attribute uniqueness.....................................................................................................138
3.7.1 Overview of attribute uniqueness.........................................................................................138
3.7.2 Attribute uniqueness plug-in syntax.....................................................................................139
3.7.3 Creating an instance of the attribute uniqueness plug-in.....................................................140
3.7.4 Configuring attribute uniqueness.........................................................................................141
3.7.4.1 Configuring attribute uniqueness plug-ins from the Directory Server Console..........141
3.7.4.2 Configuring attribute uniqueness plug-ins from the command line............................142
3.7.4.2.1 Specifying a suffix or subtree................................................................................142
3.7.4.2.2 Using the markerObjectClass and requiredObjectClass keywords......................142
3.7.5 Attribute uniqueness plug-in syntax examples....................................................................143
3.7.5.1 Specifying one attribute and one subtree......................................................................143
Table of Contents 5