正解:
modify
Explanation
In the context of LDAP, when alterations need to be specified to an entry, the "changetype: modify" keyword is used in the LDIF file. This keyword indicates that modifications are to be made to the existing LDAP entry.
The modify operation can be used to add, replace, or delete attributes and their values. The syntax of the modify operation is as follows:
changetype: modify add: attribute attribute: valuereplace: attribute attribute: valuedelete: attribute attribute:
value
Each modify operation is separated by a hyphen (-) and a blank line separates different entries. The attribute;binary subtype can be used to indicate that the attribute values are binary data. The LDIF syntax for reading a binary value from a file is:
attribute;binary:< file:///path/to/file
References:
LPIC-2 Exam 202 Objectives, Objective 207.3: LDAP Operations
How To Use LDIF Files to Make Changes to an OpenLDAP System, DigitalOcean Modifying Entries Using ldapmodify, Oracle ldap - ldapadd/ldapmodify: clarifications needed about these commands, Server Fault Modify Attribute type definition on LDAP server, Stack Overflow