Server User Manual

pwdhash (Prints Encrypted Passwords)
291
60 = #FFCCCC
A shadow port can be set in the replication monitor configuration file. For example:
host:port=shadowport:binddn:bindpwd:bindcert
When the replication monitor finds a replication agreement that uses the specified port, it will use the
shadow port to connect to retrieve statistics.
7.3.12. pwdhash (Prints Encrypted Passwords)
Prints the encrypted form of a password using one of the server's encryption algorithms. If a user
cannot log in, use this script to compare the user's password to the password stored in the directory.
Syntax
pwdhash [ -D config_directory ] [ -H ] [[ -s scheme ] | [ -c comparepwd ]] [ password ]
Options
Option Description
-D config_directory Gives the full path to the configuration directory.
-c password Gives the hashed password string to which to
compare the user's password.
-s scheme Gives the scheme to hash the given password.
-H Shows the help.
Table 7.12. pwdhash Options
For more information on the different storage schemes, such as SSHA, SHA, CRYPT, and CLEAR, see
the Directory Server Administrator's Guide.
7.3.13. restart-slapd (Restarts the Directory Server)
Restarts the Directory Server.
Syntax
restart-slapd
Options
There are no options for this script.
Exit Status
Exit Code Description
0 Server restarted successfully.
1 Server could not be started.
2 Server restarted successfully but was already
stopped.