[Date Prev][Date Next] [Chronological] [Thread] [Top]

Modifying the DN



                                              Placed At :


Hi All,

I have a requirement of changing the DN of particular entry. For example , would
like to move the uid: test from ou=south to ou=north

"uid=test, ou=south, o=global"  to  "uid=test, ou=north, o=global"

Two options

1. ldap_rename() :  Openldap does not support this. Is there any configuration
that has to be done to make openldap suport this facility ?.

2 Delete ( ldap_delete() ) and recreate the uid in a different ou : Is this a
correct sollution ??? doubt if the berkely DB would get corrupted if there are
too many deletes. Do i have to check for something or synchronise the db after
deleting the entry to make sure that the databse is not corrupted ?

Please suggest if there is someother way of solving this ?

Waiting for suggestions.

Susanth