LDAP-UX Client Services B.04.00 with Microsoft Windows 2000/2003 Active Directory Administrator's Guide

Command, Tool, and Migration Script Reference
LDAP Directory Tools
Appendix C172
LDAP Directory Tools
This section briefly describes the tools ldapsearch, ldapmodify,
ldapdelete.
ldapsearch, ldapmodify, and ldapdelete are described in detail in the
respective LDAP directory literature.
ldapsearch
You use the ldapsearch command line utility to locate and retrieve
LDAP directory entries. This utility opens a connection to the specified
server using the specified distinguished name and password, and locates
entries based on the specified search filter. Search results are returned in
LDIF format. For details, refer to the respective literature on LDAP
directories.
ldapmodify
You use the ldapmodify command line utility to add or modify entries in
an existing LDAP directory. ldapmodify opens a connection to the
specified server using the distinguished name and password you supply,
and adds or modifies the entries based on the LDIF update statements
contained in a specified file. Because ldapmodify uses LDIF update
statements, ldapmodify can do everything ldapdelete can do. For
details, refer to the respective literature on LDAP directories.
ldapdelete
You use the ldapdelete command line utility to delete entries from an
existing LDAP directory. ldapdelete opens a connection to the specified
server using the distinguished name and password you provide, and
deletes the entry or entries. For details, refer to the respective literature
on LDAP directories.