Asynchronously modifies the relative distinguished name of a specified entry. This function has been deprecated; use the ldap_rename function.
#include <ldap.h>
int ldap_modrdn (
LDAP *ld,
const char *dn,
const char *newrdn);
(IN) Points to the handle for the LDAP session.
(IN) Points to the distinguished name of the entry to modify.
(IN) Points to the new relative distinguished name for the entry. The entry's parent must remain the same.
The ldap_modrdn function replaces the old rdn with the value of the new rdn.
The ldap_modrdn function has been replaced by the ldap_rename function. Unless you need this older function for backwards compatibility, use the newer ldap_rename function.