Ruby/LDAP is an extension library for Ruby. It provides the interface to some LDAP libraries (e.g. OpenLDAP, Netscape SDK and Active Directory). The common API for application development is described in RFC1823 and is supported by Ruby/LDAP.
Modify the RDN of the entry with DN, dn, giving it the new RDN in parent new_parent_dn,
new_rdn. If delete_old_rdn is true, the old RDN value will be deleted from the entry
it's wrapper to call ldap_rename_s (ldap extension)
Adding new function: conn.rename(dn, new_rdn, new_parent_dn, delete_old_rdn, sctrls, cctrls) => self