HP-UX Directory Server 8.1 configuration, command, and file reference
Table 7-31 ns-newpwdpolicy.pl options
DescriptionOption
Specifies the Directory Server user DN with root permissions, such as Directory Manager.
The default value is cn=directory manager.
-D rootdn
Specifies the host name of the Directory Server. The default value is localhost or the full
host name of the machine where Directory Server is installed.
-h host
Specifies the path, including the file name, to the file that contains the password associated
with the user DN.
-j filename
Specifies the Directory Server's port. The default value is 389 or the LDAP port of Directory
Server specified at installation time.
-p port
Specifies the DN of the suffix entry that needs to be updated with subtree-level password
policy attributes.
-S suffixDN
Specifies the DN of the user entry that needs to be updated with user-level password policy
attributes.
-U userDN
Specifies the password associated with the user DN.
-w password
Opens the help page.-?
7.4.13 repl-monitor.pl (Monitors replication status)
Shows in-progress status of replication.
NOTE:
The repl-monitor.pl is in the /opt/dirsrv/bin directory.
Syntax
repl-monitor.pl [ -h host] [ -p port] [ -f configFile] [ -u refreshUrl] [ -t
refreshInterval] [ -r] [ -v]
Options
Table 7-32 repl-monitor.pl options
DescriptionOption
Specifies the absolute path to the configuration file, which defines the connection parameters
used to connect to LDAP servers to get replication information. For more information about
the configuration file, see “Configuration file format”.
-f configFile
Specifies the initial replication supplier's host. The default value is the current host name.
-h host
Specifies the initial replication supplier's port. The default value is 389.-p port
If specified, causes the routine to be entered without printing the HTML header information.
This is suitable when making multiple calls to this routine (such as specifying multiple,
different, unrelated supplier servers) and expecting a single HTML output.
-r
Specifies the refresh interval in seconds. The default value is 300 seconds. This option must
be used with the -u option.
-t refreshInterval
Specifies the refresh URL. The output HTML file may invoke a CGI program periodically.
If this CGI program in turn calls this script, the effect is that the output HTML file would
automatically refresh itself. This is useful for continuous monitoring. See also the -t option.
The script has been integrated into Administration Express, so that the replication status
can be monitored through the Administration Express.
-u refreshUrl
Prints the version of this script.-v
Configuration file format The configuration file defines the following:
7.4 Perl scripts 235