Quantcast
Viewing latest article 3
Browse Latest Browse All 10

Modify LDAP record entry

Problem

You want to modify or change a record in LDAP.

Supplanting one value with another.



Solution

Use ldapmodify from the command line.

Again take a backup with -L – just to be sure. Image may be NSFW.
Clik here to view.
:)



Example

Here is an example of modifying a record in LDAP, when you need to modify an entry to an existing record:


ldapmodify -x -v-D”cn=Manager,dc=demo,dc=net”-w secret<<EOT
dn: cn=jdoe,dc=demo,dc=net
changetype: modify
replace: mail
mail: jane.doe@demo.net
EOT



Reference

Technorati Tags: , ,




Viewing latest article 3
Browse Latest Browse All 10

Trending Articles