Makefile.am | 18 ++++-
Makefile.in | 18 ++++-
man/man8/bak2db.8 | 58 ++++++++++++++++
man/man8/bak2db.pl.8 | 82 +++++++++++++++++++++++
man/man8/cleanallruv.pl.8 | 85 ++++++++++++++++++++++++
man/man8/db2bak.8 | 59 +++++++++++++++++
man/man8/db2bak.pl.8 | 78 ++++++++++++++++++++++
man/man8/db2index.8 | 63 ++++++++++++++++++
man/man8/db2index.pl.8 | 85 ++++++++++++++++++++++++
man/man8/db2ldif.8 | 102 +++++++++++++++++++++++++++++
man/man8/db2ldif.pl.8 | 124 ++++++++++++++++++++++++++++++++++++
man/man8/dbverify.8 | 60 +++++++++++++++++
man/man8/dn2rdn.8 | 58 ++++++++++++++++
man/man8/fixup-linkedattrs.pl.8 | 76 ++++++++++++++++++++++
man/man8/fixup-memberof.pl.8 | 79 ++++++++++++++++++++++
man/man8/ldif2db.8 | 85 ++++++++++++++++++++++++
man/man8/ldif2db.pl.8 | 102 +++++++++++++++++++++++++++++
man/man8/ldif2ldap.8 | 62 ++++++++++++++++++
man/man8/monitor.8 | 67 +++++++++++++++++++
man/man8/ns-accountstatus.pl.8 | 74 +++++++++++++++++++++
man/man8/ns-activate.pl.8 | 73 +++++++++++++++++++++
man/man8/ns-inactivate.pl.8 | 72 ++++++++++++++++++++
man/man8/ns-newpwpolicy.pl.8 | 79 ++++++++++++++++++++++
man/man8/restart-slapd.8 | 48 +++++++++++++
man/man8/restoreconfig.8 | 48 +++++++++++++
man/man8/saveconfig.8 | 48 +++++++++++++
man/man8/schema-reload.pl.8 | 74 +++++++++++++++++++++
man/man8/start-slapd.8 | 48 +++++++++++++
man/man8/stop-slapd.8 | 48 +++++++++++++
man/man8/suffix2instance.8 | 51 ++++++++++++++
man/man8/syntax-validate.pl.8 | 77 ++++++++++++++++++++++
man/man8/upgradedb.8 | 56 ++++++++++++++++
man/man8/upgradednformat.8 | 55 +++++++++++++++
man/man8/usn-tombstone-cleanup.pl.8 | 80 +++++++++++++++++++++++
man/man8/verify-db.pl.8 | 49 ++++++++++++++
man/man8/vlvindex.8 | 58 ++++++++++++++++
36 files changed, 2397 insertions(+), 2 deletions(-)
New commits:
commit 808df4d077d4612e38ed4ef68ece386bf05224f9
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Wed Mar 6 16:22:34 2013 -0500
Ticket 588 - Create MAN pages for command line scripts
Description: Since tickets 528/332, where we created global DS scripts, it
is now necessary to have MAN pages for all the scripts.
https://fedorahosted.org/389/ticket/588
Reviewed by: richm(Thanks Rich!)
diff --git a/Makefile.am b/Makefile.am
index bb8a187..f25af58 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -502,7 +502,23 @@ dist_man_MANS = man/man1/dbscan.1 \
man/man8/setup-ds.pl.8 \
man/man8/start-dirsrv.8 \
man/man8/stop-dirsrv.8 \
- man/man8/remove-ds.pl.8
+ man/man8/bak2db.8 man/man8/bak2db.pl.8 \
+ man/man8/db2bak.8 man/man8/db2bak.pl.8 \
+ man/man8/db2ldif.8 man/man8/db2ldif.pl.8 \
+ man/man8/db2index.8 man/man8/db2index.pl.8 \
+ man/man8/ldif2db.8 man/man8/ldif2db.pl.8 \
+ man/man8/dbverify.8 man/man8/verify-db.pl.8 \
+ man/man8/dn2rdn.8 man/man8/ldif2ldap.8 \
+ man/man8/restoreconfig.8 man/man8/saveconfig.8 \
+ man/man8/start-slapd.8 man/man8/stop-slapd.8 man/man8/restart-slapd.8 \
+ man/man8/suffix2instance.8 man/man8/monitor.8 \
+ man/man8/upgradednformat.8 man/man8/vlvindex.8 \
+ man/man8/cleanallruv.pl.8 man/man8/schema-reload.pl.8 \
+ man/man8/fixup-linkedattrs.pl.8 man/man8/fixup-memberof.pl.8 \
+ man/man8/syntax-validate.pl.8 man/man8/usn-tombstone-cleanup.pl.8 \
+ man/man8/ns-accountstatus.pl.8 man/man8/ns-newpwpolicy.pl.8 \
+ man/man8/ns-activate.pl.8 man/man8/ns-inactivate.pl.8 \
+ man/man8/upgradedb.8 man/man8/remove-ds.pl.8
#------------------------
# updates
diff --git a/Makefile.in b/Makefile.in
index 4230151..c53b822 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1727,7 +1727,23 @@ dist_man_MANS = man/man1/dbscan.1 \
man/man8/setup-ds.pl.8 \
man/man8/start-dirsrv.8 \
man/man8/stop-dirsrv.8 \
- man/man8/remove-ds.pl.8
+ man/man8/bak2db.8 man/man8/bak2db.pl.8 \
+ man/man8/db2bak.8 man/man8/db2bak.pl.8 \
+ man/man8/db2ldif.8 man/man8/db2ldif.pl.8 \
+ man/man8/db2index.8 man/man8/db2index.pl.8 \
+ man/man8/ldif2db.8 man/man8/ldif2db.pl.8 \
+ man/man8/dbverify.8 man/man8/verify-db.pl.8 \
+ man/man8/dn2rdn.8 man/man8/ldif2ldap.8 \
+ man/man8/restoreconfig.8 man/man8/saveconfig.8 \
+ man/man8/start-slapd.8 man/man8/stop-slapd.8 man/man8/restart-slapd.8 \
+ man/man8/suffix2instance.8 man/man8/monitor.8 \
+ man/man8/upgradednformat.8 man/man8/vlvindex.8 \
+ man/man8/cleanallruv.pl.8 man/man8/schema-reload.pl.8 \
+ man/man8/fixup-linkedattrs.pl.8 man/man8/fixup-memberof.pl.8 \
+ man/man8/syntax-validate.pl.8 man/man8/usn-tombstone-cleanup.pl.8 \
+ man/man8/ns-accountstatus.pl.8 man/man8/ns-newpwpolicy.pl.8 \
+ man/man8/ns-activate.pl.8 man/man8/ns-inactivate.pl.8 \
+ man/man8/upgradedb.8 man/man8/remove-ds.pl.8
#------------------------
diff --git a/man/man8/bak2db.8 b/man/man8/bak2db.8
new file mode 100644
index 0000000..2e930a6
--- /dev/null
+++ b/man/man8/bak2db.8
@@ -0,0 +1,58 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH BAK2DB 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+bak2db - Directory Server script for restoring a backup
+.SH SYNOPSIS
+bak2db archivedir [-Z serverID] [-n backendname] [-q] | [-h]
+.SH DESCRIPTION
+Restores the database from a archived backup. The Directory Server must be stopped prior
to running this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fBarchivedir\fR
+The directory of the archived database.
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to restore. Example: userRoot
+.TP
+.B \fB\-q\fR
+.br
+Quiet mode. Reduces output of task.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+bak2db /LDAP/backups/20130305/ -Z instance1 -n userRoot
+
+bak2db /LDAP/backups/20130305/ -n example
+
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+bak2db was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/bak2db.pl.8 b/man/man8/bak2db.pl.8
new file mode 100644
index 0000000..25c87db
--- /dev/null
+++ b/man/man8/bak2db.pl.8
@@ -0,0 +1,82 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH BAK2DB.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+bak2db.pl - Directory Server perl script for restoring a backup
+.SH SYNOPSIS
+bak2db.pl -a archivedir [-Z serverID] [-D rootdn] { -w password | -w - | -j filename }
[-t dbtype] [-n backendname] [-P protocol] [-v] [-h]
+.SH DESCRIPTION
+Restores a database from a backup. The Directory Server must be started prior to running
this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-a\fR \fIarchivedir\fR
+The directory of the archived database.
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-t\fR \fIdatabase type\fR
+The backend database type (default: ldbm database).
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to restore. Example: userRoot
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+bak2db.pl -a /LDAP/backups/20130305/ -D 'cn=directory manager' -w password -n
userRoot -P LDAPS
+
+Note: security must be enabled to use protocol LDAPS. If LDAPS is not available it will
default to next strongest/available protocol automatically.
+.TP
+bak2db.pl -a /LDAP/backups/20130305/ -Z instance2 -w password -n example -P LDAPI
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+bak2db.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/cleanallruv.pl.8 b/man/man8/cleanallruv.pl.8
new file mode 100644
index 0000000..dc49bad
--- /dev/null
+++ b/man/man8/cleanallruv.pl.8
@@ -0,0 +1,85 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH CLEANALLRUV.PL 8 " Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+cleanallruv.pl - Directory Server perl script for issuing a cleanAllRUV task
+.SH SYNOPSIS
+cleanallruv.pl [-v] [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } -b
basedn -r rid [-A] [-P protocol] [-h]
+.SH DESCRIPTION
+Creates and adds a cleanAllRUV task to the Directory Server
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-b\fR \fIbasedn\fR
+.br
+The replicated suffix that needs to be cleaned.
+.TP
+.B \fB\-r\fR \fIrid\fR
+.br
+The replica ID that needs to be removed.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-A\fR
+.br
+Abort a cleanAllRUV task that is currently running.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+cleanallruv.pl -Z instance1 -D 'cn=directory manager' -j /tmp/pw.txt -b
'dc=example,dc=com' -r 87 -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.TP
+cleanallruv.pl -j /export/rootdnpw.txt -b 'dc=example,dc=com' -A -r 87
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+cleanallruv.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/db2bak.8 b/man/man8/db2bak.8
new file mode 100644
index 0000000..fab587d
--- /dev/null
+++ b/man/man8/db2bak.8
@@ -0,0 +1,59 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DB2BAK 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+db2bak - Directory Server script for making a backup of the database
+.SH SYNOPSIS
+db2bak [archivedir] [-Z serverID] [-q] [-h]
+.SH DESCRIPTION
+Creates a backup of the database. This script can be executed while the server is
running or stopped.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fBarchivedir\fR
+The full path to the directory to store the backup.
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-q\fR
+.br
+Quiet mode. Reduces output of task.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+db2bak -Z instance2
+
+Makes a backup of the entire database for 'instance2', and stores it in the
default server instance backup directory.
+.TP
+db2bak /LDAP/backups/20130305
+
+Creates a backup of the database and stores it in specified location.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+db2bak was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/db2bak.pl.8 b/man/man8/db2bak.pl.8
new file mode 100644
index 0000000..6807292
--- /dev/null
+++ b/man/man8/db2bak.pl.8
@@ -0,0 +1,78 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DB2BAK.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+db2bak.pl - Directory Server perl script for creating a backup
+.SH SYNOPSIS
+db2bak.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-t dbtype] [-a
backupdir] [-P protocol] [-v] [-h]
+.SH DESCRIPTION
+Creates a backup of the Directory Server database. The
+Directory Server must be started prior to running this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-t\fR \fIdatabase type\fR
+The backend database type (default: ldbm database).
+.TP
+.B \fB\-a\fR \fIbackupdir\fR
+The directory where the backup should be stored.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+db2bak.pl -Z instance1 -D 'cn=directory manager' -w password -a
/LDAP/backups/20130305 -P LDAPI
+
+Note: LDAPI must be enabled to use this protocol. If LDAPI is not available it will
default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+db2bak.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/db2index.8 b/man/man8/db2index.8
new file mode 100644
index 0000000..369f2d9
--- /dev/null
+++ b/man/man8/db2index.8
@@ -0,0 +1,63 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DB2INDEX 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+db2index - Directory Server script for indexing attributes
+.SH SYNOPSIS
+db2index [-Z serverID] [-n backend | {-s includeSuffix}* -t
attribute[:indextypes[:matchingrules]] -T vlvTag] [-h]
+.SH DESCRIPTION
+Reindexes the database index files. The Directory Server must be stopped prior to
running this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to reindex. Example: userRoot
+.TP
+.B \fB\-s\fR \fIincludeSuffix\fR
+Specifies suffixes to be included or the subtrees to be included
+.TP
+.B \fB\-t\fR \fIattributeName[:indextypes[:matchingrules]]\fR
+The attribute to index. Optionally you can specify a comma separated list of index
types: eq, sub, pres, and approx.
+An optional matching rule OID can also be set.
+.TP
+.B \fB\-T\fR \fIvlvTag\fR
+This is the name of the vlv index entry under cn=config.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+db2index -n userRoot -t uid:eq,sub:1.3.6.1.4.1.42.2.27.9.4.76.1 -t cn:eq,pres
+.TP
+db2index -Z instance2 -s 'dc=example,dc=com' -t uid:eq:pres:sub -t sn
+.TP
+db2index -Z instance3
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+db2index was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/db2index.pl.8 b/man/man8/db2index.pl.8
new file mode 100644
index 0000000..ebb5847
--- /dev/null
+++ b/man/man8/db2index.pl.8
@@ -0,0 +1,85 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DB2INDEX.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+db2index.pl - Directory Server perl script for indexing a database
+.SH SYNOPSIS
+db2index.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-n
backendname] [-P protocol] [-t attributeName[:indextypes[:matchingrules]]] [-T vlvTag]
[-v] [-h]
+.SH DESCRIPTION
+Indexes attributes in the specified database. If no attributes are specified, then all
the attribute indexes will be regenerated. The Directory Server must be started prior to
running this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to restore. Example: userRoot
+.TP
+.B \fB\-t\fR \fIattributeName[:indextypes[:matchingrules]]\fR
+The attribute to index. Optionally you can specify a comma separated list of index
types: eq, sub, pres, and approx.
+An optional matching rule OID can also be set.
+.TP
+.B \fB\-T\fR \fIvlvTag\fR
+This is the name of the vlv index entry under cn=config.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+db2index.pl -n userRoot -D 'cn=directory manager' -w password -t
uid:eq,pres,sub:1.3.6.1.4.1.42.2.27.9.4.76.1 -t cn:eq,pres
+.TP
+db2index.pl -Z instance3
+.TP
+db2index.pl -Z instance2 -w password -s 'dc=example,dc=com' -t uid:eq:pres:sub -t
sn -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+db2index.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/db2ldif.8 b/man/man8/db2ldif.8
new file mode 100644
index 0000000..cc19cf4
--- /dev/null
+++ b/man/man8/db2ldif.8
@@ -0,0 +1,102 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DB2LDIF 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+db2ldif - Directory Server script for exporting the database
+.SH SYNOPSIS
+db2ldif [-Z serverID] {-n backend_instance}* | {-s includeSuffix}* [{-x excludeSuffix}*]
[-a outputFile] [-m] [-M] [-r] [-u] [-U] [-C] [-N] [-E] [-1] [-q] [-h]
+.SH DESCRIPTION
+Exports the contents of the database to a LDIF file. This script can be executed while
the server is still running, except when using the -r option.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to reindex. Example: userRoot
+.TP
+.B \fB\-s\fR \fIincludeSuffix\fR
+Specifies suffixes to be included in the LDIF file.
+.TP
+.B \fB\-x\fR \fIexcludeSuffix\fR
+Specifies suffixes to be excluded from the LDIF file.
+.TP
+.B \fB\-a\fR \fIOutput File\fR
+The name for the LDIF file.
+.TP
+.B \fB\-m\fR
+.br
+Minimize the base64 encodings in the exported LDIF file.
+.TP
+.B \fB\-M\fR
+.br
+Exported ldif is stored in multiple files. These files are named :
<instance>_<filename>
+.br
+By default, all instances are stored in the filename specified by the -a option.
+.TP
+.B \fB\-r\fR
+.br
+Export replication data(information required to initialize a replica when the LDIF is
imported).
+.TP
+.B \fB\-u\fR
+.br
+Do not export the unique-id attribute.
+.TP
+.B \fB\-U\fR
+.br
+Requests that the output LDIF is not folded.
+.TP
+.B \fB\-C\fR
+.br
+Uses only the main database file.
+.TP
+.B \fB\-N\fR
+.br
+Suppress printing sequential number
+.TP
+.B \fB\-E\fR
+.br
+Decrypts any encrypted data during export.
+.TP
+.B \fB\-1\fR
+.br
+Deletes, for reasons of backward compatibility, the first line of the LDIF file that
gives the version of the LDIF standard.
+.TP
+.B \fB\-q\fR
+.br
+Quiet mode. Suppresses output of the script.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+db2ldif -Z instance3 -n userRoot -a /LDAP/ldif/export.ldif
+.TP
+db2ldif -s 'dc=example,dc=com' -a /LDAP/ldif/export.ldif -m -E -q
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+db2ldif was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/db2ldif.pl.8 b/man/man8/db2ldif.pl.8
new file mode 100644
index 0000000..139ae8b
--- /dev/null
+++ b/man/man8/db2ldif.pl.8
@@ -0,0 +1,124 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DB2LDIF.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+db2ldif.pl - Directory Server perl script for exporting a database to a LDIF file
+.SH SYNOPSIS
+db2ldif.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j pwfilename } [-P
protocol]
+{-n backendname}* | {-s includeSuffix}* [{-x excludeSuffix}*] [-m] [-M] [-r] [-u] [-C]
[-N] [-E] [-1] [-U] [-a filename] [-v] [-h]
+.SH DESCRIPTION
+Exports the contents of the database to LDIF. This script creates an entry in the
directory that launches this dynamic task.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to restore. Example: userRoot
+.TP
+.B \fB\-s\fR \fIincludeSuffix\fR
+The suffix DN to be included in the exported LDIF file.
+.TP
+.B \fB\-x\fR \fIexcludeSuffix\fR
+The suffix DN to be excluded from the exported LDIF file.
+.TP
+.B \fB\-a\fR \fIfilename\fR
+Name for the exported LDIF file.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-m\fR
+.br
+Minimize the base64 encodings in the exported LDIF file.
+.TP
+.B \fB\-M\fR
+.br
+Exported ldif is stored in multiple files. These files are named :
<instance>_<filename>
+.br
+By default, all instances are stored in the filename specified by the -a option.
+.TP
+.B \fB\-r\fR
+.br
+Export replication data(information required to initialize a replica when the LDIF is
imported).
+.TP
+.B \fB\-u\fR
+.br
+Do not export the unique-id attribute.
+.TP
+.B \fB\-U\fR
+.br
+Requests that the output LDIF is not folded.
+.TP
+.B \fB\-C\fR
+.br
+Uses only the main database file.
+.TP
+.B \fB\-N\fR
+.br
+Suppress printing sequential number
+.TP
+.B \fB\-E\fR
+.br
+Decrypts any encrypted data during export.
+.TP
+.B \fB\-1\fR
+.br
+Deletes, for reasons of backward compatibility, the first line of the LDIF file that
gives the version of the LDIF standard.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+db2ldif.pl -Z instance3 -n userRoot -a /LDAP/ldif/export.ldif -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.TP
+db2ldif.pl -s 'dc=example,dc=com' -a /LDAP/ldif/export.ldif -m -E -q
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+db2ldif.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/dbverify.8 b/man/man8/dbverify.8
new file mode 100644
index 0000000..b0fbce0
--- /dev/null
+++ b/man/man8/dbverify.8
@@ -0,0 +1,60 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DBVERIFY 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+dbverify - Directory Server script for indexing attributes
+.SH SYNOPSIS
+dbverify [-Z serverID] [-n backend] [-V] [-v] [-d debuglevel] [-h]
+.SH DESCRIPTION
+Verifies the backend database files. If the server crashes because of a corrupted
database, this command can be used to verify the integrity of the different database files
to help isolate any problems. This script should be run while the server instacne is
stopped.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to reindex. Example: userRoot
+.TP
+.B \fB\-d\fR \fIDebug Level\fR
+Sets the debugging level.
+.TP
+.B \fB\-V\fR
+.br
+Verbose output.
+.TP
+.B \fB\-v\fR
+.br
+Display the version of the Directory Server.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+dbverify -Z instance3 -n userRoot -V
+
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+dbverify was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/dn2rdn.8 b/man/man8/dn2rdn.8
new file mode 100644
index 0000000..df0192a
--- /dev/null
+++ b/man/man8/dn2rdn.8
@@ -0,0 +1,58 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH DN2RDN 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+dn2rdn - Directory Server script to check for outdated index versions
+.SH SYNOPSIS
+dn2rdn [-Z serverID] [-h] [-f] [-v] [-d debuglevel]
+.SH DESCRIPTION
+Checks the database index version, and if it's in a old format, then it will rebuild
the indexes. The server instance needs to be stopped prior to running this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-d\fR \fIDebug Level\fR
+Sets the debugging level.
+.TP
+.B \fB\-f\fR
+.br
+Force the upgrade.
+.TP
+.B \fB\-v\fR
+.br
+Display the version of the Directory Server.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+dn2rdn
+
+dn2rdn -Z instance3 -f
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+dn2rdn was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/fixup-linkedattrs.pl.8 b/man/man8/fixup-linkedattrs.pl.8
new file mode 100644
index 0000000..1c77aba
--- /dev/null
+++ b/man/man8/fixup-linkedattrs.pl.8
@@ -0,0 +1,76 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FIXUP-LINKEDATTRS.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+fixup-linkedattrs.pl - Directory Server perl script for creating a "fixup" task
for linked attributes.
+.SH SYNOPSIS
+fixup-linkedattrs.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-l
linkDN] [-P protocol] [-v] [-h]
+.SH DESCRIPTION
+Creates the managed attributes in the user entries once the linking plug-in instance is
created or updates the managed attributes to keep everything in sync after operations like
replication or synchronization.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-l\fR \fIlinkDN\fR
+Gives the target DN for which to update the linked attributes. If this is not set, then
the default is to update all linked and managed attributes for the entire subtree or
directory tree.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+fixup-linkedattrs.pl -Z instance1 -D 'cn=directory manager' -w password -P
STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.TP
+fixup-linkedattrs.pl -w password -l 'ou=people,dc=example,dc=com'
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+fixup-linkedattrs.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/fixup-memberof.pl.8 b/man/man8/fixup-memberof.pl.8
new file mode 100644
index 0000000..250997d
--- /dev/null
+++ b/man/man8/fixup-memberof.pl.8
@@ -0,0 +1,79 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH FIXUP-MEMBEROF.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+fixup-memberof.pl - Directory Server perl script for memberOf attributes.
+.SH SYNOPSIS
+fixup-memberof.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } -b
baseDN [-f filter] [-P protocol] [-v] [-h]
+.SH DESCRIPTION
+Regenerates and updates memberOf on user entries to coordinate changes in group
membership.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-b\fR \fIbaseDN\fR
+The DN of the subtree containing the entries to update.
+.TP
+.B \fB\-f\fR \fIfilter\fR
+An LDAP query filter to use to select the entries within the subtree to update. If there
is no filter set, then the memberOf attribute is regenerated for every entry in the
subtree.
+.TP
+.B \fB\-P\fR \fIprotocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+fixup-memberof.pl -Z instance1 -D 'cn=directory manager' -w password -b
'dc=example,dc=com' -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.TP
+fixup-memberof.pl -w password -b 'dc=example,dc=com' -f 'uid=*'
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+fixup-memberof.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ldif2db.8 b/man/man8/ldif2db.8
new file mode 100644
index 0000000..69aadb2
--- /dev/null
+++ b/man/man8/ldif2db.8
@@ -0,0 +1,85 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH LDIF2DB 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ldif2db - Directory Server script for importing a LDIF file
+.SH SYNOPSIS
+ldif2db [-Z serverID] -n backendname {-s includesuffix}* [{-x excludesuffix}*] [-g
[string] [-G namespace_id]] {-i ldiffile}* [-c chunksize] [-O] [-E] [-q] [-h]
+.SH DESCRIPTION
+Imports a LDIF file. Either the option '-n' or '-s' must be used. The
server instance must be stopped prior to running this command.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to restore. Example: userRoot
+.TP
+.B \fB\-s\fR \fIincludeSuffix\fR
+Specifies the suffixes to be included or specifies the subtrees to be included.
+.TP
+.B \fB\-x\fR \fIexcludeSuffix\fR
+Specifies the suffixes to be excluded or specifies the subtrees to be excluded.
+.TP
+.B \fB\-i\fR \fIfilename\fR
+Name for the LDIF file to import.
+.TP
+.B \fB\-c\fR \fIChunk size\fR
+The number of entries to process before starting a fresh pass during the import. By
default this is handled internally by the server.
+.TP
+.B \fB\-O\fR
+.br
+Requests that only the core database is created without attribute indexes.
+.TP
+.B \fB\-g\fR \fI[string]\fR
+Generates a unique ID. Type none for no unique ID to be generated and deterministic for
the generated unique ID to be name-based. By default, a time-based unique ID is generated.
When using the deterministic generation to have a name-based unique ID, it is also
possible to specify the namespace for the server to use, as follows:
+
+-g deterministic namespaceId
+
+namespaceId is a string of characters in the format
00-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx.
+.TP
+.B \fB\-G\fR \fInamespace_id\fR
+Generates a namespace ID as a name-based unique ID. This is the same as specifying the -g
deterministic option.
+.TP
+.B \fB\-E\fR
+.br
+Encrypts data during import. This option is used only if database encryption is enabled.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+ldif2db -Z instance1 -n userRoot -i /LDAP/ldif/data.ldif
+.TP
+ldif2db -s "dc=example,dc=com" -i /LDAP/ldif/data.ldif
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ldif2db was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ldif2db.pl.8 b/man/man8/ldif2db.pl.8
new file mode 100644
index 0000000..67e0d2d
--- /dev/null
+++ b/man/man8/ldif2db.pl.8
@@ -0,0 +1,102 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH LDIF2DB.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ldif2db.pl - Directory Server perl script for importing a LDIF file
+.SH SYNOPSIS
+ldif2db.pl -n backend [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-P
protocol] {-s includeSuffix}* [{-x excludeSuffix}*] [-O] [-c chunksize] [-v] [-h] [-g
[string]] [-G namespace_id] {-i filename}*
+.SH DESCRIPTION
+Imports LDIF file(s) into the server. Either the option '-n' or '-s' must
be used. This script creates an entry in the directory that launches this dynamic task.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to restore. Example: userRoot
+.TP
+.B \fB\-s\fR \fIincludeSuffix\fR
+Specifies the suffixes to be included or specifies the subtrees to be included.
+.TP
+.B \fB\-x\fR \fIexcludeSuffix\fR
+Specifies the suffixes to be excluded or specifies the subtrees to be excluded.
+.TP
+.B \fB\-i\fR \fIfilename\fR
+Name for the LDIF file to import.
+.TP
+.B \fB\-g\fR \fI[string]\fR
+Generates a unique ID. Type none for no unique ID to be generated and deterministic for
the generated unique ID to be name-based. By default, a time-based unique ID is generated.
When using the deterministic generation to have a name-based unique ID, it is also
possible to specify the namespace for the server to use, as follows:
+
+-g deterministic namespaceId
+
+namespaceId is a string of characters in the format
00-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx.
+.TP
+.B \fB\-G\fR \fInamespace_id\fR
+Generates a namespace ID as a name-based unique ID. This is the same as specifying the -g
deterministic option.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-O\fR
+.br
+Requests that only the core database is created without attribute indexes.
+.TP
+.B \fB\-c\fR \fIChunk size\fR
+The number of entries to process before starting a fresh pass during the import. By
default this is handled internally by the server.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+ldif2db.pl -Z instance1 -n userRoot -i /LDAP/ldif/data.ldif
+.TP
+ldif2db.pl -s "dc=example,dc=com" -i /LDAP/ldif/data.ldif -D 'cn=directory
manager' -w password -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ldif2db.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ldif2ldap.8 b/man/man8/ldif2ldap.8
new file mode 100644
index 0000000..ac5b815
--- /dev/null
+++ b/man/man8/ldif2ldap.8
@@ -0,0 +1,62 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH LDIF2LDAP 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ldif2ldap - Directory Server script for adding entries
+.SH SYNOPSIS
+ldif2ldap [-Z serverID] [-D <rootdn>] -w <password> -f <ldifFile> [-P
protocol] [-h]
+.SH DESCRIPTION
+Performs an import operation over LDAP to the Directory Server. To run this script, the
server must be running.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-f\fR \fILDIF file\fR
+The LDIF file with the entries to add.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+ldif2ldap -Z instance3 -D 'cn=directory manager' -w password -f
/LDAP/ldif/entries.ldif -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ldif2ldap was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/monitor.8 b/man/man8/monitor.8
new file mode 100644
index 0000000..0c49829
--- /dev/null
+++ b/man/man8/monitor.8
@@ -0,0 +1,67 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH MONITOR 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+monitor - Directory Server script for monitoring database performance
+.SH SYNOPSIS
+monitor [ -Z serverID ] [ -D rootdn ] [ -w password ] [ -b basedn ] [-P protocol] [-h]
+.SH DESCRIPTION
+Retrieves performance monitoring information. To run this script, the server must be
running.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-b\fR \fIbasedn\fR
+The DN of a backend from cn=config.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+monitor -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.TP
+monitor -Z instance2 -D 'cn=directory manager' -w password -b
'cn=monitor,cn=userRoot,cn=ldbm database,cn=plugins,cn=config'
+
+Note: You only need to bind as the root DN if you want to look at a backend monitor.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+monitor was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ns-accountstatus.pl.8 b/man/man8/ns-accountstatus.pl.8
new file mode 100644
index 0000000..8be6e69
--- /dev/null
+++ b/man/man8/ns-accountstatus.pl.8
@@ -0,0 +1,74 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH NS-ACCOUNTSTATUS.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ns-accountstatus.pl - Directory Server perl script for checking the status of entries.
+.SH SYNOPSIS
+ns-accountstatus.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-p
port] [-h host] [-P protocol] -I DN
+.SH DESCRIPTION
+Provides account status information to establish whether an entry or group of entries is
inactivated.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-I\fR \fIDN\fR
+Specifies the entry DN or role DN whose status is required.
+.TP
+.B \fB\-h\fR \fIhost\fR
+Host name of the Directory Server.
+.TP
+.B \fB\-p\fR \fIport\fR
+Port number of the Directory Server.
+.SH EXAMPLE
+.TP
+ns-accountstatus.pl -Z instance3 -D 'cn=directory manager' -w password -I
'uid=user,ou=people,dc=example,dc=com'
+.TP
+ns-accountstatus.pl -w password -I 'uid=user,ou=people,dc=example,dc=com' -P
STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ns-accountstatus.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ns-activate.pl.8 b/man/man8/ns-activate.pl.8
new file mode 100644
index 0000000..b72ade5
--- /dev/null
+++ b/man/man8/ns-activate.pl.8
@@ -0,0 +1,73 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH NS-ACTIVATE.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ns-activate.pl - Directory Server perl script for activating entries.
+.SH SYNOPSIS
+ns-activate.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-p port]
[-h host] [-P protocol] -I DN
+.SH DESCRIPTION
+Activates an entry or group of entries.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-I\fR \fIDN\fR
+Specifies the entry DN or role DN to activate.
+.TP
+.B \fB\-h\fR \fIhost\fR
+Host name of the Directory Server.
+.TP
+.B \fB\-p\fR \fIport\fR
+Port number of the Directory Server.
+.SH EXAMPLE
+.TP
+ns-activate.pl -Z instance2 -D 'cn=directory manager' -j /tmp/passwd.txt -P
STARTTLS -I 'uid=user,ou=people,dc=example,dc=com'
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ns-activate.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ns-inactivate.pl.8 b/man/man8/ns-inactivate.pl.8
new file mode 100644
index 0000000..fad00a6
--- /dev/null
+++ b/man/man8/ns-inactivate.pl.8
@@ -0,0 +1,72 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH NS-INACTIVATE.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ns-inactivate.pl - Directory Server perl script for inactivating entries.
+.SH SYNOPSIS
+ns-inactivate.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-p port]
[-h host] [-P protocol] -I DN
+.SH DESCRIPTION
+Inactivates, and consequently locks, an entry or group of entries.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-I\fR \fIDN\fR
+Specifies the entry DN or role DN to deactivate.
+.TP
+.B \fB\-h\fR \fIhost\fR
+Host name of the Directory Server.
+.TP
+.B \fB\-p\fR \fIport\fR
+Port number of the Directory Server.
+.SH EXAMPLE
+.TP
+ns-inactivate.pl -Z instance2 -D 'cn=directory manager' -j /tmp/passwd.txt -P
STARTTLS -I 'uid=user,ou=people,dc=example,dc=com'
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ns-inactivate.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/ns-newpwpolicy.pl.8 b/man/man8/ns-newpwpolicy.pl.8
new file mode 100644
index 0000000..34cb15b
--- /dev/null
+++ b/man/man8/ns-newpwpolicy.pl.8
@@ -0,0 +1,79 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH NS-NEWPWPOLICY.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+ns-newpwpolicy.pl - Directory Server perl script for preparing new password policies.
+.SH SYNOPSIS
+ns-newpwpolicy.pl [-Z serverID] [-v] [-D rootdn] { -w password | -j filename } [-P
protocol] [-p port] [-h host] -U UserDN -S SuffixDN
+.SH DESCRIPTION
+Adds entries required for implementing the user- and subtree-level password policy.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-P\fR \fIProtocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-h\fR \fIhost\fR
+Host name of the Directory Server.
+.TP
+.B \fB\-p\fR \fIport\fR
+Port number of the Directory Server.
+.TP
+.B \fB\-U\fR \fIuserDN\fR
+Specifies the DN of the user entry that needs to be updated with user-level password
policy attributes.
+.TP
+.B \fB\-S\fR \fIsuffixDN\fR
+Specifies the DN of the suffix entry that needs to be updated with subtree-level password
policy attributes.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.SH EXAMPLE
+.TP
+ns-newpwpolicy.pl -Z instance3 -D 'cn=directory manager' -w password -P STARTTLS
-U 'uid=user,ou=people,dc=example,dc=com'
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+ns-newpwpolicy.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/restart-slapd.8 b/man/man8/restart-slapd.8
new file mode 100644
index 0000000..03e210b
--- /dev/null
+++ b/man/man8/restart-slapd.8
@@ -0,0 +1,48 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RESTART-SLAPD 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+restart-slapd - Directory Server script for restarting a server instance
+.SH SYNOPSIS
+restart-slapd [ -Z serverID ] [-h]
+.SH DESCRIPTION
+Restarts a Directory Server instance.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+restart-slapd
+.TP
+restart-slapd -Z instance2
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+restart-slapd was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/restoreconfig.8 b/man/man8/restoreconfig.8
new file mode 100644
index 0000000..9c98143
--- /dev/null
+++ b/man/man8/restoreconfig.8
@@ -0,0 +1,48 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RESTORECONFIG 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+restoreconfig - Directory Server script for restoring the Admin Server configuration
+.SH SYNOPSIS
+restoreconfig [ -Z serverID ] [-h]
+.SH DESCRIPTION
+Restores the most recently saved Admin Server configuration information to the
NetscapeRoot partition under the /etc/dirsrv/slapd-instance_name/ directory.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+restoreconfig
+.TP
+restoreconfig -Z instance2
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+restoreconfig was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/saveconfig.8 b/man/man8/saveconfig.8
new file mode 100644
index 0000000..7f5a5fa
--- /dev/null
+++ b/man/man8/saveconfig.8
@@ -0,0 +1,48 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SAVECONFIG 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+saveconfig - Directory Server script for saving the Admin Server configuration
+.SH SYNOPSIS
+saveconfig [ -Z serverID ] [-h]
+.SH DESCRIPTION
+Makes a backup of the Admin Server configuration information and stores it in
/var/lib/dirsrv/slapd-instance_name/bak.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+saveconfig
+.TP
+saveconfig -Z instance3
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+saveconfig was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/schema-reload.pl.8 b/man/man8/schema-reload.pl.8
new file mode 100644
index 0000000..d148685
--- /dev/null
+++ b/man/man8/schema-reload.pl.8
@@ -0,0 +1,74 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SCHEMA-RELOAD.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+schema-reload.pl - Directory Server perl script for updating the schema.
+.SH SYNOPSIS
+schema-reload.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } [-P
protocol] [-d schemadir] [-v] [-h]
+.SH DESCRIPTION
+Manually reloads the schema files used by the Directory Server instance, either in the
default location, or in user-specified locations.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-d\fR \fIschemadir\fR
+Gives the full path to the directory where the schema file is located. If this is not
specified, the script uses the default schema directory, /etc/dirsrv/schema.
+.TP
+.B \fB\-P\fR \fIprotocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+schema-reload.pl -Z instance3 -D 'cn=directory manager' -w password -P STARTTLS
-d /LDAP/schema/
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+schema-reload.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/start-slapd.8 b/man/man8/start-slapd.8
new file mode 100644
index 0000000..c780112
--- /dev/null
+++ b/man/man8/start-slapd.8
@@ -0,0 +1,48 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH START-SLAPD 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+start-slapd - Directory Server script for starting a server instance
+.SH SYNOPSIS
+start-slapd [ -Z serverID ] [-h]
+.SH DESCRIPTION
+Starts a Directory Server instance.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+start-slapd
+.TP
+start-slapd -Z instance2
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+start-slapd was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/stop-slapd.8 b/man/man8/stop-slapd.8
new file mode 100644
index 0000000..4eacef5
--- /dev/null
+++ b/man/man8/stop-slapd.8
@@ -0,0 +1,48 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH STOP-SLAPD 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+stop-slapd - Directory Server script for stopping a server instance
+.SH SYNOPSIS
+stop-slapd [ -Z serverID ] [-h]
+.SH DESCRIPTION
+Stops a Directory Server instance.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+stop-slapd
+.TP
+stop-slapd -Z instance3
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+stop-slapd was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/suffix2instance.8 b/man/man8/suffix2instance.8
new file mode 100644
index 0000000..e4794c7
--- /dev/null
+++ b/man/man8/suffix2instance.8
@@ -0,0 +1,51 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SUFFIX2INSTANCE 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+suffix2instance - Directory Server script for finding a backend name
+.SH SYNOPSIS
+suffix2instance [-Z serverID] -s suffix [-h]
+.SH DESCRIPTION
+Maps a suffix to a backend name. This script can be run while the server is running, or
stopped.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-s\fR \fISuffix DN\fR
+The suffix DN to be mapped to a backend name. Example: "dc=example,dc=com"
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+suffix2instance -s 'dc=example,dc=com'
+.TP
+suffix2instance -Z instance3 -s 'dc=example,dc=com'
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+suffix2instance was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/syntax-validate.pl.8 b/man/man8/syntax-validate.pl.8
new file mode 100644
index 0000000..3bd0d10
--- /dev/null
+++ b/man/man8/syntax-validate.pl.8
@@ -0,0 +1,77 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SYNTAX-VALIDATE.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+syntax-validate.pl - Directory Server perl script for validating attribute syntax.
+.SH SYNOPSIS
+syntax-validate.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename } -b
baseDN [-f filter] [-P protocol] [-v] [-h]
+.SH DESCRIPTION
+Syntax validation checks every modification to attributes to make sure that the new value
has the required syntax for that attribute type. All attribute syntaxes are validated
against the definitions in RFC 4514.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-b\fR \fIbaseDN\fR
+Gives the base DN for the entries to validate.
+.TP
+.B \fB\-f\fR \fIfilter\fR
+Contains a search filter to use to select a subset of entries to validate. If this is not
given, then all entries under the base DN are checked.
+.TP
+.B \fB\-P\fR \fIprotocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+syntax-validate.pl -Z instance2 -D 'cn=directory manager' -w password -b
'dc=example,dc=com' -f 'cn=*' -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+syntax-validate.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/upgradedb.8 b/man/man8/upgradedb.8
new file mode 100644
index 0000000..31519fa
--- /dev/null
+++ b/man/man8/upgradedb.8
@@ -0,0 +1,56 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH UPGRADEDB 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+upgradedb - Directory Server script for upgrading the database
+.SH SYNOPSIS
+upgradedb [-a archivedir] [-Z serverID] [-f] [-v] [-d debuglevel] [-h]
+.SH DESCRIPTION
+Checks the DB version and if it has the old index formatting then it will rebuild the
indexes. This is usually needed after migrating from older versions of Directory Server.
This script must be run while the server is stopped.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to reindex. Example: userRoot
+.TP
+.B \fB\-a\fR \fIDatabase directory\fR
+The full path to the database directory.
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-N\fR
+Only checks whether any DNs in the database need to be updated.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+upgradedb -Z instance2
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+upgradedb was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
+
diff --git a/man/man8/upgradednformat.8 b/man/man8/upgradednformat.8
new file mode 100644
index 0000000..40584f0
--- /dev/null
+++ b/man/man8/upgradednformat.8
@@ -0,0 +1,55 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH UPGRADEDNFORMAT 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+upgradednformat - Directory Server script for upgrading the DN format
+.SH SYNOPSIS
+upgradednformat -n backendname -a database_directory [-Z serverID] [-N] [-h]
+.SH DESCRIPTION
+Updates older-style DN syntaxes to RFC 4514-style DN syntaxes for migrated databases.
This is usually needed after migrating from an older version of Directory Server. This
script must be run while the server is stopped.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to reindex. Example: userRoot
+.TP
+.B \fB\-a\fR \fIDatabase directory\fR
+The full path to the database directory.
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-N\fR
+Only checks whether any DNs in the database need to be updated.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+upgradednformat -n userRoot -a /var/lib/dirsrv/slapd-instance2/db -Z instance2
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+upgradednformat was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/usn-tombstone-cleanup.pl.8 b/man/man8/usn-tombstone-cleanup.pl.8
new file mode 100644
index 0000000..175e973
--- /dev/null
+++ b/man/man8/usn-tombstone-cleanup.pl.8
@@ -0,0 +1,80 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH USN-TOMBSTONE-CLEANUP.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+usn-tombstone-cleanup.pl - Directory Server perl script for cleaning up tombstone
entries.
+.SH SYNOPSIS
+usn-tombstone-cleanup.pl [-Z serverID] [-D rootdn] { -w password | -w - | -j filename }
-s suffix -n backend [-m maxusn_to_delete] [-P protocol] [-v] [-h]
+.SH DESCRIPTION
+Deletes the tombstone entries maintained by the instance if the USN Plug-in is enabled.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-D\fR \fIRoot DN\fR
+The Directory Manager DN, or root DN. If not specified, the script will
+search the server instance configuration for the value.
+.TP
+.B \fB\-w\fR \fIpassword\fR
+The rootdn password.
+.TP
+.B \fB\-w -\fR
+.br
+Prompt for the rootdn password.
+.TP
+.B \fB\-j\fR \fIpassword filename\fR
+The name of the file that contains the root DN password.
+.TP
+.B \fB\-s\fR \fIsuffix\fR
+Gives the name of the suffix containing the entries to clean/delete.
+.TP
+.B \fB\-n\fR \fIbackend\fR
+Gives the name of the database containing the entries to clean/delete. Example,
userRoot.
+.TP
+.B \fB\-m\fR \fImaxusn_to_delete\fR
+Sets the upper bound for entries to delete. All tombstone entries with an entryUSN value
up to the specified maximum (inclusive) are deleted, but not past that USN value. If no
maximum USN value is set, then all backend tombstone entries are deleted.
+.TP
+.B \fB\-P\fR \fIprotocol\fR
+The connection protocol to connect to the Directory Server. Protocols are STARTTLS,
LDAPS, LDAPI, and LDAP.
+If this option is skipped, the most secure protocol that is available is used. For
LDAPI, AUTOBIND is also
+available for the root user.
+.TP
+.B \fB\-v\fR
+.br
+Display verbose ouput
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+usn-tombstone-cleanup.pl -Z instance2 -D 'cn=directory manager' -w password -n
userRoot -s 'ou=people,dc=example,dc=com' -P STARTTLS
+
+Note: security must be enabled to use protocol STARTTLS. If STARTTLS is not available it
will default to next strongest/available protocol automatically.
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+usn-tombstone-cleanup.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/verify-db.pl.8 b/man/man8/verify-db.pl.8
new file mode 100644
index 0000000..07057a1
--- /dev/null
+++ b/man/man8/verify-db.pl.8
@@ -0,0 +1,49 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH VERIFY-DB.PL 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+verify-db.pl - Directory Server perl script for verifying the database.
+.SH SYNOPSIS
+verify-db.pl [-Z serverID] [ -a path ] [-h]
+.SH DESCRIPTION
+Verifies the backend database files. If the server crashes because of a corrupted
database, this script can be used to verify the integrity of the different database files
to help isolate any problems.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-a\fR \fIpath\fR
+Gives the path to the database directory. If this option is not passed with the
verify-db.pl command, then it uses the default database directory,
/var/lib/dirsrv/slapd-instance_name/db.
+.TP
+.B \fB\-h\fR
+.br
+Display usage
+.SH EXAMPLE
+.TP
+verify-db.pl -Z instance2 -a /var/lib/dirsrv/slapd-instance2/db
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+verify-db.pl was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.
diff --git a/man/man8/vlvindex.8 b/man/man8/vlvindex.8
new file mode 100644
index 0000000..a4eec93
--- /dev/null
+++ b/man/man8/vlvindex.8
@@ -0,0 +1,58 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH VLVINDEX 8 "Mar 5, 2013"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+vlvindex - Directory Server script for VLV indexing
+.SH SYNOPSIS
+vlvindex [-Z serverID] -n backendname | {-s includesuffix}* -T vlvTag [-d debuglevel]
[-h]
+.SH DESCRIPTION
+Creates virtual list view (VLV) indexes, known in the Directory Server Console as
browsing indexes. VLV indexes introduce flexibility in the way search results are viewed.
VLV index configuration must already exist prior to running this script. The Directory
Server must be stopped before running this script.
+.SH OPTIONS
+A summary of options is included below:
+.TP
+.B \fB\-Z\fR \fIServer Identifier\fR
+The server ID of the Directory Server instance. If there is only
+one instance on the system, this option can be skipped.
+.TP
+.B \fB\-n\fR \fIBackend Name\fR
+The name of the LDBM database to reindex. Example: userRoot
+.TP
+.B \fB\-s\fR \fIincludeSuffix\fR
+Specifies suffixes to be included or the subtrees to be included
+.TP
+.B \fB\-T\fR \fIvlvTag\fR
+This is the name of the vlv index entry under cn=config.
+.TP
+.B \fB\-d\fR \fIDebug Level\fR
+Settings the debugging level.
+.TP
+.B \fB\-h\fR
+.br
+Display the usage.
+.SH EXAMPLE
+.TP
+vlvindex -n userRoot -T myVLVIndex -Z instance2
+.SH DIAGNOSTICS
+Exit status is zero if no errors occur. Errors result in a
+non-zero exit status and a diagnostic message being written
+to standard error.
+.SH AUTHOR
+vlvindex was written by the 389 Project.
+.SH "REPORTING BUGS"
+Report bugs to
http://bugzilla.redhat.com.
+.SH COPYRIGHT
+Copyright \(co 2013 Red Hat, Inc.