NIS+ to LDAP Migration Guide

Chapter 3 39
3 Command and Tool Reference
This chapter briefly describes the LDAP directory tools used to search,
add, modify or delete entries in an LDAP directory and NIS+ to LDAP
migration scripts. It includes the following sections:
“The ldappasswd Command” on page 39 describes the command that
changes passwords in your directory.
“LDAP Directory Tools” on page 40 briefly describes the tools
ldapsearch, ldapmodify, and ldapdelete.
“NIS+ to LDAP Migration Scripts” on page 44 describes the shell and
perl scripts that migrate your NIS+ data to your LDAP directory.
The ldappasswd Command
This section describes the ldappasswd command and its parameters.
The ldappasswd program, installed in /opt/ldapux/bin, allows users to
change their passwords in the directory. Changing a user’s password
with ldappasswd marks the cache entry for that user as stale if caching
is enabled. ldappasswd assumes an LDAP directory server that supports
{crypt} format. (For more information, see passwd(1) and crypt(3C).)
Syntax
ldappasswd [
options
]
where
options
can be any of the following:
-b
basedn
specifies
basedn
as the base distinguished name of
where to start searching. If ypldapd is running, then
this is not required.
-h
host
specifies
host
as the LDAP server name or IP address.
If ypldapd is running, then this is not required.