Command and Tool Reference

The ldappasswd Command

The ldappasswd Command

This section describes the ldappasswd command and its parameters. The ldappasswd command, installed in /opt/ldapux/bin, is needed on clients that use an LDAP directory replica because the replica cannot be modified by the passwd(1) command, or any other command.

Syntax

ldappasswd [options]

where options can be any of the following:

-bbasedn

 

specifies basedn as the base distinguished name of

 

where to start searching.

-hhost

 

 

specifies host as the LDAP server name or IP address.

-c

generates an encrypted password on the client. Use

 

this parameter for directories that do not automatically

 

encrypt passwords. The default is to send the new

 

password in plain text to the directory. Netscape

 

Directory Server 4.x for HP-UX supports automatic

 

encryption of passwords.

-v

prints the software version and exits.

-pport

 

 

specifies port as the LDAP server TCP port number.

-Dbinddn

 

 

specifies binddn as the bind distinguished name.

-wpasswd

 

 

specifies passwd as the bind password (for simple

 

authentication).

-l login

specifies login as the uid of the account to change;

 

defaults to the current user.

166

Chapter 5