Subject: | moddn - forced to supply an arg when its not required |
I am trying to move an object within my LDAP schema
$ldap->ldap->moddn(
$uid_obj->dn,
newsuperior => $company_obj->dn,
deleteoldrdn => 1,
);
I am only moving the object, not making any other changes. However, the
above results in an error:
No NewRDN specified at script.pl line 72
I am having to supply a new RDN even though I am not changing it
$ldap->ldap->moddn(
$uid_obj->dn,
newrdn => "uid=".$uid_obj->get_value('uid'),
newsuperior => $company_obj->dn,
deleteoldrdn => 1,
);
so I believe this retriction needs to be relaxed.