Command and Tool Reference

LDAP Directory Tools

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

Examples

The following command changes the password in the directory for the currently logged in user:

ldappasswd

The following command changes the password in the directory for the user steves:

ldappasswd -l steves

LDAP Directory Tools

This section briefly describes the tools ldapsearch, ldapmodify, and ldapdelete. These tools are described in detail in the Netscape Directory Server for HP-UX Administrator’s Guide available at http://docs.hp.com/hpux/internet.

40

Chapter 3