On Oct 7, 2005, at 16:33 PM, Anthony M. Martinez wrote:
On Mon, Sep 26, 2005 at 07:44:55PM -0500, Graham Barr wrote:


$ldap->moddn($entry, newrdn => $newrdn);


Hm. Does moddn leave a copy of the old entry? I'd like to keep the old entry sticking around until I've made sure that the other operations (moving the mail
spool, homedir, etc) succeed.

Judging by the ability to pass "deleteoldrdn=>0", I would think so, but I'd like
to make sure before I trash accounts (even test ones) :)

Pi


No, it controls attibutes in the entry. From RFC2251

- deleteoldrdn: a boolean parameter that controls whether the old RDN
     attribute values are to be retained as attributes of the entry, or
     deleted from the entry.

Graham.


Reply via email to