ldapmodify214 Netscape Directory Server Configuration, Command, and File Reference • May 2002ldapmodify -Dbinddn [-wpasswd] [-acmnrvFR] [-ddebug_level] [-hhost] [-pport] [-Mauth_mechanism] [-Z] [-Vversion] [ -ffile |[-lnumber_of_ldap_connections] <entryfile ]ldapmodify OptionsThe following three sections list the options that can be specified with ldapmodify.The first section lists those options most commonly used, the second section listsSSL options, and the third lists less common options.Commonly Used ldapmodify OptionsTo modify an entry or entries in an existing directory, use the ldapmodifycommand-line utility with the following options:NOTE On Windows, avoid using stdin and stdout with the ldapmodifycommand-line utility; using stdin and stdout with the ldapmodifycommand-line utility may not work well, particularly withnon-ASCII data. It is recommended that you always use the -fargument to specify the file containing the LDIF update statements(for example, -f new_file) as this prevents the statements beingread from stdin.-a Allows you to add LDIF entries to the directory without requiring thechangetype:add LDIF update statement. This provides a simplified methodof adding entries to the directory. This option also allows you to directly add afile created by ldapsearch.-B Specifies the suffix under which the new entries will be added.-D Specifies the distinguished name with which to authenticate to the server. Thevalue must be a DN recognized by the Directory Server, and it must also havethe authority to modify the entries. For example, -D "uid=bjensen,dc=example,dc=com". You cannot use this option with the -N option.-f Optional option that specifies the file containing the LDIF update statementsused to define the directory modifications. For example, -fmodify_statements. If you do not supply this option, the updatestatements are read from stdin. For information on supplying LDIF updatestatements from the command line, see Chapter 2, “Creating DirectoryEntries” in the Netscape Directory Server Administrator’s Guide.-h Specifies the name of the host on which the server is running. For example, -hcyclops.