In the Net::LDAP docs: moddn ( DN, OPTIONS )
Rename the entry given by DN on the server. DN may be a string or a Net::LDAP::Entry object.
newrdn => RDN
This value should be a new RDN to assign to DN.
deleteoldrdn => 1
This option should be passwd if the existing RDN is to be deleted.
"passwd" should be "passed"
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
