Subject: Sample ldapmodify LDIF file -- Deleting value(s)
Author: eLDAP
In response to: Sample ldapmodify LDIF file -- Adding value(s)
Posted on: 07/08/2011 09:26:17 PM
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
delete: title
title: HR manager
title: Director of operation
The changetype is classified as
modify-delete and loading this LDIF file is going to delete the values listed from the given attribute
title, removing the entire attribute if all current values of the attribute are listed for deletion.
If no values are listed, as follows:
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
delete: title
the entire attribute is going to be removed.
>
> On 07/08/2011 09:25:21 PM
eLDAP wrote:
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
add: title
title: HR manager
title: Director of operation
title: VP sales
The changetype is classified as modify-add and loading this LDIF file is going to add the values listed to the given attribute title, creating the attribute if necessary.
References: