!!! Overview
ModifyRequest is a [LDAP Message] used to [update] an existing [LDAP Entry] in the [DIT].
The modify request [LDAP Message] is defined in [RFC 4511] as follows:
%%prettify
{{{
ModifyRequest ::= [APPLICATION 6] SEQUENCE
{
object LDAPDN,
changes SEQUENCE OF change SEQUENCE
{
operation ENUMERATED
{
add (0),
delete (1),
replace (2),
...
},
modification PartialAttribute
}
}
}}} /%
! Fields of the [{$pagename}] are:
* object - The value of this field contains the [DistinguishedName] ([DN]) of the [LDAP Entry] to be modified. The server __SHALL NOT__ perform any alias dereferencing in determining the object to be modified.
* changes - the sequence of [LDAP ModifyRequest Operations] to be performed on the [LDAP Entry]. The entire list of modifications __MUST__ be performed in the order they are listed as a single [atomic] operation. While individual modifications may violate certain aspects of the directory schema (such as the [ObjectClass Types] and [DIT Content Rule], the resulting [LDAP Entry] after the entire list of [LDAP ModifyRequest Operations] is performed __MUST__ conform to the requirements of the directory model and controlling schema [RFC 4512].
* operation - specifies the [LDAP ModifyRequest Operation] of [{$pagename}] being performed. Each [LDAP ModifyRequest Operation] acts on the following modification.
* modification - Specifies the attribute within the [LDAP Entry] that the [LDAP ModifyRequest Operation] is to be performed on.
!! [Modify Response]
Upon receipt of a [{$pagename}], the server attempts to perform the necessary modifications to the DIT and returns the result in a [Modify Response]. The server will return to the client a __single__ [Modify Response] indicating either the successful completion of the [DIT] modification, or the reason that the modification failed.
!! [LDAP Data Interchange Format] ([LDIF])
[{$pagename}] applies to [LDAP Data Interchange Format] ([LDIF]) operation also.
For [LDIF] the modify [ChangeType] directive is used along with the [LDAP ModifyRequest Operations] directive.
The elements of the modify request include:
* The [DN] of the [LDAP Entry] to modify.
* One or more [LDAP ModifyRequest Operations] elements indicating the changes to make in the [LDAP Entry].
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]