6.8.1 ldif syntax..............................................................................................................................

212

6.8.2 ldif options.............................................................................................................................

212

6.9 dbscan............................................................................................................................................

212

6.9.1 dbscan syntax........................................................................................................................

212

6.9.2 dbscan options.......................................................................................................................

213

6.9.3 dbscan examples....................................................................................................................

213

7 Command-line scripts................................................................................................

215

7.1 Finding and executing command-line scripts...............................................................................

215

7.2 Command-line scripts quick reference..........................................................................................

215

7.3 Shell scripts....................................................................................................................................

216

7.3.1 bak2db (Restores a database from backup)...........................................................................

217

7.3.2 cl-dump (Dumps and decodes the changelog).....................................................................

217

7.3.3 dbverify (Checks for corrupt databases)...............................................................................

218

7.3.4 db2bak (Creates a backup of a database)..............................................................................

219

7.3.5 db2ldif (Exports database contents to LDIF).........................................................................

219

7.3.6 db2index (Reindexes database index files)...........................................................................

220

7.3.7 ldif2db (Import).....................................................................................................................

220

7.3.8 ldif2ldap (Performs import operation over LDAP)...............................................................

221

7.3.9 pwdhash (Prints encrypted passwords)................................................................................

221

7.3.10 monitor (Retrieves monitoring information).......................................................................

222

7.3.11 repl-monitor (Monitors replication status)..........................................................................

222

7.3.12 restart-slapd (Restarts the Directory Server).......................................................................

224

7.3.13 restoreconfig (Restores Administration Server configuration)...........................................

224

7.3.14 saveconfig (Saves Administration Server configuration)....................................................

224

7.3.15 start-slapd (Starts the Directory Server)..............................................................................

225

7.3.16 stop-slapd (Stops the Directory Server)...............................................................................

225

7.3.17 suffix2instance (Maps a suffix to a backend name).............................................................

225

7.3.18 vlvindex (Creates virtual list view indexes)........................................................................

225

7.4 Perl scripts.....................................................................................................................................

226

7.4.1 bak2db.pl (Restores a database from backup)......................................................................

226

7.4.2 cl-dump.pl (Dumps and decodes the changelog).................................................................

227

7.4.3 db2bak.pl (Creates a backup of a database)..........................................................................

227

7.4.4 db2index.pl (Creates and generates indexes)........................................................................

228

7.4.5 db2ldif.pl (Exports database contents to LDIF).....................................................................

228

7.4.6 fixup-memberof.pl (Regenerate memberOf attributes)........................................................

229

7.4.7 ldif2db.pl (Import).................................................................................................................

230

7.4.8 logconv.pl (Log converter).....................................................................................................

231

7.4.9 ns-accountstatus.pl (Establishes account status)...................................................................

233

7.4.10 ns-activate.pl (Activates an entry or group of entries)........................................................

234

7.4.11 ns-inactivate.pl (Inactivates an entry or group of entries)..................................................

234

7.4.12 ns-newpwpolicy.pl (Adds attributes for fine-grained password policy)............................

234

7.4.13 repl-monitor.pl (Monitors replication status)......................................................................

235

7.4.14 schema-reload.pl (Reload schema files dynamically).........................................................

237

7.4.15 verify-db.pl (Check for corrupt databases).........................................................................

237

8 Support and other resources....................................................................................

239

8.1 Contacting HP...............................................................................................................................

239

8.1.1 Information to collect before contacting HP.........................................................................

239

8.1.2 How to contact HP technical support...................................................................................

239

8.1.3 HP authorized resellers.........................................................................................................

239

8.1.4 Documentation feedback.......................................................................................................

239

8.2 Related information.......................................................................................................................

240

12 Table of Contents