HP-UX Directory Server 8.1 Administrator (766147-001, March 2014)
Attribute uniqueness plug-in syntax examples.......................................................................144
Specifying one attribute and one subtree........................................................................144
Specifying one attribute and multiple subtrees.................................................................144
Replication and the attribute uniqueness plug-in...................................................................145
Simple replication scenario...........................................................................................145
Multi-master replication scenario...................................................................................145
Subtree Rename and Entry Move ...........................................................................................145
4 Populating Directory Databases................................................................148
Importing data.....................................................................................................................148
Importing a database from the console...............................................................................149
Initializing a database from the console..............................................................................150
Importing from the command line.......................................................................................152
Importing using the ldif2db command line script.............................................................152
Importing using the ldif2db.pl Perl script.........................................................................154
Importing using the ldif2ldap command line script...........................................................154
Importing through the cn=tasks entry.............................................................................154
Exporting data.....................................................................................................................155
Exporting directory data to LDIF using the console................................................................156
Exporting a single database to LDIF using the console..........................................................157
Exporting to LDIF from the command line............................................................................159
Exporting a database using db2ldif or db2ldif.pl............................................................159
Exporting through the cn=tasks entry.............................................................................160
Backing up and restoring data...............................................................................................160
Backing up all databases..................................................................................................161
Backing up all databases from the Console....................................................................161
Backing up all databases from the command line............................................................162
Backing up the database through the cn=tasks entry........................................................162
Backing up the dse.ldif configuration file.............................................................................162
Restoring all databases.....................................................................................................163
Restoring all databases from the console........................................................................163
Restoring your database from the command line.............................................................164
Using the bak2db command line script ....................................................................164
Using bak2db.pl Perl script......................................................................................164
Restoring the database through the cn=tasks entry......................................................164
Restoring a single database..............................................................................................165
Restoring databases that include replicated entries...............................................................165
Restoring the dse.ldif configuration file................................................................................166
5 Organizing Entries with roles, Class of service, and Views...........................167
Using roles..........................................................................................................................167
About roles.....................................................................................................................167
Managing roles using the console......................................................................................169
Creating a managed role.............................................................................................169
Creating a filtered role.................................................................................................172
Creating a nested role.................................................................................................175
Viewing and editing an entry's roles..............................................................................178
Modifying a role entry.................................................................................................180
Making a role inactive or active....................................................................................182
Deleting a role............................................................................................................184
Managing roles using the command line.............................................................................185
Examples: managed role definition................................................................................186
Example: filtered role definition.....................................................................................187
Example: nested role definition.....................................................................................187
Using roles securely..........................................................................................................188
Assigning class of service......................................................................................................188
6 Contents