Red Hat Directory Server 8.0 Configuration, Command, and File Reference

2. Using Special Characters ............................................................................195
3. Command-Line Utilities Quick Reference ......................................................196
4. ldapsearch ..................................................................................................197
5. ldapmodify ..................................................................................................214
6. ldapdelete ..................................................................................................221
7. ldappasswd ................................................................................................227
8. ldif ..............................................................................................................234
9. dbscan .......................................................................................................235
7. Command-Line Scripts ........................................................................................241
1. Finding and Executing Command-Line Scripts ..............................................241
2. Command-Line Scripts Quick Reference ......................................................241
3. Shell Scripts ...............................................................................................243
3.1. bak2db (Restores a Database from Backup) ......................................244
3.2. cl-dump (Dumps and Decodes the Changelog) ..................................245
3.3. dbverify (Checks for Corrupt Databases) ...........................................246
3.4. db2bak (Creates a Backup of a Database) .........................................246
3.5. db2ldif (Exports Database Contents to LDIF) ......................................247
3.6. db2index (Reindexes Database Index Files) ......................................248
3.7. ldif2db (Import) .................................................................................249
3.8. ldif2ldap (Performs Import Operation over LDAP) ...............................251
3.9. pwdhash (Prints Encrypted Passwords) .............................................251
3.10. monitor (Retrieves Monitoring Information) .......................................252
3.11. repl-monitor (Monitors Replication Status) ........................................252
3.12. restart-slapd (Restarts the Directory Server) .....................................255
3.13. restoreconfig (Restores Administration Server Configuration) ............256
3.14. saveconfig (Saves Administration Server Configuration) ...................256
3.15. start-slapd (Starts the Directory Server) ...........................................257
3.16. stop-slapd (Stops the Directory Server) ............................................257
3.17. suffix2instance (Maps a Suffix to a Backend Name) ..........................258
3.18. vlvindex (Creates Virtual List View Indexes) .....................................258
4. Perl Scripts .................................................................................................259
4.1. bak2db.pl (Restores a Database from Backup) ...................................260
4.2. cl-dump.pl (Dumps and Decodes the Changelog) ...............................260
4.3. db2bak.pl (Creates a Backup of a Database) .....................................261
4.4. db2index.pl (Creates and Generates Indexes) ....................................262
4.5. db2ldif.pl (Exports Database Contents to LDIF) ..................................263
4.6. ldif2db.pl (Import) .............................................................................264
4.7. logconv.pl (Log Converter) ................................................................266
4.8. ns-accountstatus.pl (Establishes Account Status) ...............................270
4.9. ns-activate.pl (Activates an Entry or Group of Entries) ........................270
4.10. ns-inactivate.pl (Inactivates an Entry or Group of Entries) .................271
4.11. ns-newpwpolicy.pl (Adds Attributes for Fine-Grained Password Policy) 272
4.12. repl-monitor.pl (Monitors Replication Status) ....................................273
4.13. verify-db.pl (Check for Corrupt Databases) .......................................276
A. Using the ns-slapd Command-Line Utilities ...........................................................277
1. Overview of ns-slapd ...................................................................................277
2. Finding and Executing the ns-slapd Command-Line Utilities ..........................277
Red Hat Directory Server 8.0
viii