Table 7-31 ns-newpwdpolicy.pl options

Option

Description

-Drootdn

Specifies the Directory Server user DN with root permissions, such as Directory Manager.

 

The default value is cn=directory manager.

 

 

-hhost

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.

 

 

-jfilename

Specifies the path, including the file name, to the file that contains the password associated

 

with the user DN.

 

 

-pport

Specifies the Directory Server's port. The default value is 389 or the LDAP port of Directory

 

Server specified at installation time.

 

 

-SsuffixDN

Specifies the DN of the suffix entry that needs to be updated with subtree-level password

 

policy attributes.

 

 

-UuserDN

Specifies the DN of the user entry that needs to be updated with user-level password policy

 

attributes.

 

 

-wpassword

Specifies the password associated with the user DN.

 

 

-?

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

Option

Description

-fconfigFile

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”.

 

 

-hhost

Specifies the initial replication supplier's host. The default value is the current host name.

 

 

-pport

Specifies the initial replication supplier's port. The default value is 389.

 

 

-r

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.

-t refreshInterval Specifies the refresh interval in seconds. The default value is 300 seconds. This option must be used with the -uoption.

-urefreshUrl

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 -toption.

 

The script has been integrated into Administration Express, so that the replication status

 

can be monitored through the Administration Express.

 

 

-v

Prints the version of this script.

 

 

Configuration file format The configuration file defines the following:

7.4 Perl scripts 235