Red Hat Directory Server 8.0 Configuration, Command, and File Reference

Option Description
search request.
-ZZ Specifies the Start TLS request. Use this
option to make a cleartext connection into a
secure one. If the server does not support
Start TLS, the command does not need to be
aborted; it will continue in cleartext.
-ZZZ Enforces the Start TLS request. The server
must respond that the request was
successful. If the server does not support
Start TLS, such as Start TLS is not enabled or
the certificate information is incorrect, the
command is aborted immediately.
Table 6.19. General ldappasswd Options
Examples.
The following examples provide show how to perform various tasks using the ldappasswd
command.
The Directory Manager changes the password of the user
uid=tuser1,ou=People,dc=example,dc=com to new_password over SSL.
ldappasswd -Z -h myhost -P /etc/dirsrv/slapd-instance_name/cert8.db -D
"cn=Directory Manager"
-w dmpassword -s new_password "uid=tuser1,ou=People,dc=example,dc=com"
Example 6.1. Directory Manager Changing a User's Password Over SSL
The Directory Manager generates the password of the user
uid=tuser2,ou=People,dc=example,dc=com over SSL.
ldappasswd -Z -h myhost -P /etc/dirsrv/slapd-instance_name/cert8.db -D
"cn=Directory Manager"
-w dmpassword "uid=tuser2,ou=People,dc=example,dc=com"
Example 6.2. Directory Manager Generating a User's Password
Chapter 6. Command-Line Utilities
232