HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

3.1.3.3 Adding very large attributes ..............................................................................107
3.1.3.4 Adding and removing attribute values.................................................................108
3.1.3.5 Adding an attribute subtype...............................................................................108
3.1.3.5.1 Language subtype.....................................................................................109
3.1.3.5.2 Binary subtype.........................................................................................110
3.1.3.5.3 Pronunciation subtype................................................................................110
3.1.4 Deleting directory entries...........................................................................................110
3.2 Managing Entries from the Command line.........................................................................111
3.2.1 Providing input from the command line.......................................................................111
3.2.2 Creating a root entry from the command line..............................................................112
3.2.3 Adding entries using LDIF.........................................................................................112
3.2.4 Adding and modifying entries using ldapmodify.........................................................112
3.2.4.1 Adding entries using ldapmodify........................................................................113
3.2.4.2 Modifying entries using ldapmodify...................................................................113
3.2.5 Deleting entries using ldapdelete...............................................................................114
3.2.6 Using special characters...........................................................................................115
3.3 Tracking Modifications to Directory Entries.........................................................................115
3.3.1 Tracking modifications to directory entries through Update Sequence Numbers................115
3.3.2 Tracking modifications to directory entries through Operational Attributes.......................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.....................................................................................126
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...........................141
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
Contents 5