Subject: Sample ldapmodify LDIF file -- Putting all together (Changes across entry)
Author: eLDAP
In response to: Sample ldapmodify LDIF file -- Putting all together (Changes within an entry)
Posted on: 07/08/2011 09:30:16 PM
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
add: title
title: HR manager
title: Director of operation
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
delete: mail
mail: user.01@example.com
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
delete: description
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
replace: telephonenumber
telephonenumber: 1-123-555-1234
telephonenumber: 1-123-555-6789
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
delete: description
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
delete: description
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modrdn
newrdn: uid=user001
deleteoldrdn: 0
>
> On 07/08/2011 09:29:37 PM
eLDAP wrote:
dn: uid=user.01,ou=people,dc=example,dc=com
changetype: modify
add: title
title: HR manager
title: Director of operation
-
delete: mail
mail: user.01@example.com
-
delete: description
-
replace: telephonenumber
telephonenumber: 1-123-555-1234
telephonenumber: 1-123-555-6789
-
delete: description
References: