Specifications

Appendix A Command-Line Parameters for Open Directory 219
OpenLDAP Standard Distribution Tools
Two types of tools come with OpenLDAP:
Tools that operate directly on the LDAP databases—These tools begin with  slap.
Tools that go through the LDAP protocol—These tools begin with  ldap.
You must run the slap tools on the computer hosting the LDAP database. When
using the slap tools, shut down the LDAP service. If you don’t, your database can get
out of sync.
These tools are included in the standard OpenLDAP distribution.
Tool Used to
/usr/bin/ldapadd
Add entries to the LDAP directory.
/usr/bin/ldapcompare
Compare a directory entrys actual attributes with
known attributes.
/usr/bin/ldapdelete
Delete entries from the LDAP directory.
/usr/bin/ldapmodify
Change an entrys attributes.
/usr/bin/ldapmodrdn
Change an entrys relative distinguished name
(RDN).
/usr/bin/ldappasswd
Set the password for an LDAP user.
Apple recommends using
passwd instead of
ldappasswd. For more information, see the
passwd man page.
/usr/bin/ldapsearch
Search the LDAP directory.
/usr/bin/ldapwhoami
Obtain the primary authorization identity
associated with a user.
/usr/sbin/slapadd
Add entries to the LDAP directory.
/usr/sbin/slapcat
Export LDAP Directory Interchange Format les.
/usr/sbin/slapindex
Regenerate directory indexes.
/usr/sbin/slappasswd
Generate user password hashes.