Red Hat Directory Server 8.0 Configuration, Command, and File Reference
contain characters that have special meaning to the command-line interpreter, such as space (
), asterisk (*), and backslash (\). When this situation occurs, enclose the value in quotation
marks (""). For example:
-D "cn=Barbara Jensen, ou=Product Development, dc=example,dc=com"
Depending on the command-line interpreter, use either single or double quotation marks for this
purpose. See the operating system documentation for more information.
Additionally, commas in DN values must be escaped with a backslash. For example:
-D "cn=Patricia Fuentes, ou=people, dc=example,dc=Bolivia\, S.A."
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 Administrator's 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 Administrator's
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 Administrator's 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 Administrator's Guide.
ldif Automatically formats LDIF files and creates
base 64-encoded attribute values. For details
Chapter 6. Command-Line Utilities
196