go to  ForumEasy.com   
LdapPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Sample ldapmodify LDIF file -- Replacing value(s)
 
Subject: Sample ldapmodify LDIF file -- Replacing value(s)
Author: eLDAP
In response to: Sample ldapmodify LDIF file -- Deleting value(s)
Posted on: 07/08/2011 09:27:18 PM


dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
replace: title
title: Sales manager
title: VP operation


The changetype is classified as modify-replace and loading this LDIF file is going to replace all exsiting values with the new values listed, creating the attribute if necessary.

If no values are listed, as follows:

dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
replace: title


the entire attribute is going to be removed.


 

> On 07/08/2011 09:26:17 PM eLDAP wrote:


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.






References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.