Red Hat Directory Server 8.0 Configuration, Command, and File Reference
Commonly-Used ldapmodify Options.
Option Description
-a Adds LDIF entries to the directory without
requiring the changetype:add LDIF update
statement. This provides a simplified method
of adding entries to the directory. This option
also allows directly adding a file created by
ldapmodify.
-B Specifies the suffix under which the new
entries will be added.
-D Specifies the distinguished name with which
to authenticate to the server. The value must
be a DN recognized by the Directory Server,
and it must also have the authority to modify
the entries. For example:
-D "uid=bjensen, dc=example,dc=com"
This option cannot be used with the -N option.
-f
Option that specifies the file containing the
LDIF update statements used to define the
directory modifications. For example:
-f modify_statements
If this option is not supplied, the update
statements are read from stdin.
For information on supplying LDIF update
statements from the command-line, see the
"Creating Directory Entries" chapter in the
Directory Server Administrator's Guide.
-g Specifies that the password policy request
control not be sent with the bind request. By
default, the new LDAP password policy
request control is sent with bind requests. The
ldapmodify tool can parse and display
information from the response control if it is
returned by a server; that is, the tool will print
an appropriate error or warning message
when a server sends the password policy
response control with an appropriate value.
The criticality of the request control is set to
ldapmodify
215