Register-ds-admin.pl, Important, Syntax – Red Hat 8.1 User Manual
Page 233: Options, Remove-ds.pl, Register-ds-admin.pl 7.4.16. remove-ds.pl, Section 7.4.16, “remove-ds.pl

Table 7.31. ns-newpwpolicy.pl Options
Option
Description
-D rootdn
Specifies the Directory Server user DN with root
permissions, such as Directory Manager. The
default value is cn=directory manager.
-h host
Specifies the hostname of the Directory Server.
The default value is localhost or the full
hostname of the machine where Directory Server
is installed.
-j filename
Specifies the path, including the filename, to the
file that contains the password associated with
the user DN.
-p port
Specifies the Directory Server's port. The default
value is 389 or the LDAP port of Directory Server
specified at installation time.
-S suffixDN
Specifies the DN of the suffix entry that needs to
be updated with subtree-level password policy
attributes.
-U userDN
Specifies the DN of the user entry that needs to
be updated with user-level password policy
attributes.
-v
Verbose mode.
-w password
Specifies the password associated with the user
DN.
-?
Opens the help page.
7.4 .15. register-ds-admin.pl
The register-ds-admin.pl script can be used for two things:
Registering an existing Directory Server instance with a different Administration Server or
Configuration Directory Server.
Creating a new, local Administration Server when only a Directory Server was installed previously.
IMPORTANT
The register-ds-admin.pl script does not support external LDAP URLs, so the Directory
Server instance must be registered against a local Administration Server.
Syntax
register-ds-adm in.pl.pl [ --debug ] [ --log=name ]
Options
Option
Alternate Options
Description
--debug
-d[dddd]
This parameter turns on
debugging information. For the -
d flag, increasing the number of
d's increases the debug level.
--logfile name
-l
This parameter specifies a log
file to which to write the output. If
this is not set, then the setup
information is written to a
temporary file. To not use a log
file, set the file name to
/dev/null.
7.4 .16. remove-ds.pl
The remove-ds.pl script removes a single instance of Directory Server. The server instance usually
must be running when this script is run so that the script can bind to the instance. It is also possible to
force the script to run, which may be necessary if there was an interrupted installation process or the
instance is corrupted or broken so that it cannot run.
When the instance is removed, it is shutdown and all of its configuration files are removed. Certificate
Red Hat Directory Server 8.1 Configuration and Command Reference
233