6.3. Command-Line Utilities Quick Reference

6.3. Command-Line Utilities Quick Reference

The following table provides a summary of the command-line utilities provided for Directory Server.

Command-Line Utility Description
ldapsearch Searches the directory and returns search results in LDIF format. For details on this tool, see the "Finding Directory Entries" appendix in the Directory Server Administration Guide.
ldapmodify Adds, deletes, modifies, or renames entries. All operations are specified using LDIF update statements. For details on this tool, see "Adding and Modifying Entries Using ldapmodify" in the "Creating Directory Entries" chapter in the Directory Server Administration Guide.
ldapdelete Deletes entries in the directory. For information on using this utility, see "Deleting Entries Using ldapdelete" in the "Creating Directory Entries" chapter in the Directory Server Administration Guide.
ldappasswd Changes users passwords with the password change extended operation. For more information on the password extended change operation, see the "Managing the Password Policy" section of the "Managing User Accounts and Passwords" chapter in the Directory Server Administration Guide.
ldif Automatically formats LDIF files and creates base 64-encoded attribute values. For details on this tool, see appendix A in the Directory Server Administration Guide.
dbscan Analyzes and extracts information from a Directory Server database file.
Table 6.1. Commonly-Used Command-Line Utilities


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.