HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

NOTE:
The Directory Server must be restarted for the changes to take effect.
3.4 LDIF Update Statements
LDIF update statements define how ldapmodify changes the directory entry. In general, LDIF
update statements contain the following information:
The DN of the entry to be modified.
A changetype that defines how a specific entry is to be modified (add, delete, modify,
modrdn).
A series of attributes and their changed values.
A change type is required unless ldapmodify is run with the -a option. If you specify the -a
option, then an add operation (changetype: add) is assumed. However, any other change
type overrides the -a option.
If you specify a modify operation (changetype: modify), a change operation is required that
indicates how the entry should be changed.
If you specify changetype: modrdn, change operations are required that specify how the
relative distinguished name (RDN) is to be modified. A distinguished name's RDN is the leftmost
value in the DN. For example, the distinguished name uid=ssarette,dc=example,dc=com
has an RDN of uid=ssarette.
The general format of LDIF update statements is as follows:
120 Creating Directory Entries