Server User Manual

Chapter 6. Command-Line Utilities
256
Option Description
-X Specifies the getEffectiveRights control
specific attribute list, where attributes are
separated by spaces. For example:
"nsroledn userPassword"
Table 6.10. Additional ldapsearch Options
6.5. ldapmodify
ldapmodify makes changes to directory entries via LDAP.
Syntax
Commonly-Used ldapmodify Options
SSL Options
SASL Options
Additional ldapmodify Options
Syntax
ldapmodify optional_options
ldapmodify [ -D binddn ] [ -w passwd ] [ -acmnrvFR ] [ -d debug_level ] [ -h host ] [ -p port ] [ -
M auth_mechanism ] [ -Z/ZZ/ZZZ ] [ -V version ] [ -f file ] [ -l number_of_ldap_connections ]
[ entryfile ]
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: