This page (revision-1) was last changed on 29-Nov-2024 16:16 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 42 lines
!!! Overview[1]
[{$pagename}] is a [LDAP ModifyRequest Operation] within an [Modify Request]
If the [modify Request] is a [{$pagename}] and there is an attribute description without any values, then __all values__ for the specified attribute will be removed from the entry.
If the [modify Request] is a [{$pagename}] and the specified attribute does not exist in the entry, then this will have __no effect__.
If the [modify Request] is a [{$pagename}] and there and there is an attribute description with one or more values, then any __existing values__ for the specified attribute values will be removed and __replaced__ with the provided set of values.
If the [modify Request] is a [{$pagename}] and the specified attribute did not previously have any values in the entry, then the provided set of values will be __added__.!! [LDIF Examples]
The following example __replaces__ the existing mail value with the specified value, jdoe@novell.com. If the attribute is [MULTI-VALUE], __all values__ are removed and the specified value is __added__. If the attribute doesn't exist, it is __added__ with the specified value.
{{{
version: 1
dn: cn=johndoe, ou=provo, ou=users, o=novell
changetype: modify
replace: mail
mail: jdoe@novell.com
}}}
! Modify [{$pagename}] - specify Multiple Modifications in a single [LDIF] record)
The following example __adds__ a telephone number, __deletes__ the fax telephone number attribute, and __replaces__ the mail attribute. A line containing only a hyphen character is used to mark the end of an attribute entry.
{{{
version: 1
dn: cn=johndoe, ou=provo, ou=users, o=novell
changetype: modify
add: telephonenumber
telephonenumber: 555 555-5555
-
delete: facsimileTelephoneNumber
-
replace: mail
mail: jdoe@novell.com
}}}
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]
----
* [#1] - [The LDAP Modify Operation|https://www.ldap.com/the-ldap-modify-operation/|target='_blank'] - based on information obtained 2016-07-03