HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3332, November 2013)

Specifying one attribute and multiple subtrees.................................................................143
Replication and the attribute uniqueness plug-in...................................................................144
Simple replication scenario...........................................................................................144
Multi-master replication scenario...................................................................................144
Subtree Rename and Entry Move ...........................................................................................144
4 Populating Directory Databases................................................................147
Importing data.....................................................................................................................147
Importing a database from the console...............................................................................148
Initializing a database from the console..............................................................................149
Importing from the command line.......................................................................................151
Importing using the ldif2db command line script.............................................................151
Importing using the ldif2db.pl Perl script.........................................................................153
Importing using the ldif2ldap command line script...........................................................153
Importing through the cn=tasks entry.............................................................................153
Exporting data.....................................................................................................................154
Exporting directory data to LDIF using the console................................................................155
Exporting a single database to LDIF using the console..........................................................156
Exporting to LDIF from the command line............................................................................158
Exporting a database using db2ldif or db2ldif.pl............................................................158
Exporting through the cn=tasks entry.............................................................................159
Backing up and restoring data...............................................................................................159
Backing up all databases..................................................................................................160
Backing up all databases from the Console....................................................................160
Backing up all databases from the command line............................................................161
Backing up the database through the cn=tasks entry........................................................161
Backing up the dse.ldif configuration file.............................................................................161
Restoring all databases.....................................................................................................162
Restoring all databases from the console........................................................................162
Restoring your database from the command line.............................................................163
Using the bak2db command line script ....................................................................163
Using bak2db.pl Perl script......................................................................................163
Restoring the database through the cn=tasks entry......................................................163
Restoring a single database..............................................................................................164
Restoring databases that include replicated entries...............................................................164
Restoring the dse.ldif configuration file................................................................................165
5 Organizing Entries with roles, Class of service, and Views...........................166
Using roles..........................................................................................................................166
About roles.....................................................................................................................166
Managing roles using the console......................................................................................168
Creating a managed role.............................................................................................168
Creating a filtered role.................................................................................................171
Creating a nested role.................................................................................................174
Viewing and editing an entry's roles..............................................................................177
Modifying a role entry.................................................................................................179
Making a role inactive or active....................................................................................181
Deleting a role............................................................................................................183
Managing roles using the command line.............................................................................184
Examples: managed role definition................................................................................185
Example: filtered role definition.....................................................................................186
Example: nested role definition.....................................................................................186
Using roles securely..........................................................................................................187
Assigning class of service......................................................................................................187
About CoS......................................................................................................................188
About the CoS definition entry......................................................................................188
6 Contents