Chapter 7. Command-Line Scripts
288
•
host
,
port
, and
binddn
can be replaced with relevant values or
*
, or omitted altogether. If
host
is null
or
*
, the entry may apply to any host that does not have a dedicated entry in the file. If
port
is null or
*
, the port will default to the port stored in the current replication agreement. If
binddn
is null or
*
, it
defaults to
cn=Directory Manager
.
•
bindcert
can be replaced with the full path to the certificate database, null, or
*
. If
bindcert
is omitted
or replaced with
*
, the connection will be a simple bind.
For example, the configuration file may appear as follows:
#Configuration File for Monitoring Replication Via Admin Express
[connection]
*:*:*:mypassword
[alias]
M1 = host1.example.com:10011
C1 = host4.example.com:10021
C2 = host2.example.com:10022
[color]
0 = #ccffcc
5 = #FFFFCC
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
.
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...