Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 95 of file modrdn.c.
Referenced by ldap_modrdnA().
{ ULONG ret = WLDAP32_LDAP_NOT_SUPPORTED; #ifdef HAVE_LDAP char *dnU = NULL, *newdnU = NULL; int msg; ret = WLDAP32_LDAP_NO_MEMORY; TRACE( "(%p, %s, %s)\n", ld, debugstr_w(dn), debugstr_w(newdn) ); if (!ld || !newdn) return ~0u; if (dn) { dnU = strWtoU( dn ); if (!dnU) goto exit; } newdnU = strWtoU( newdn ); if (!newdnU) goto exit; ret = ldap_rename( ld, dn ? dnU : "", newdnU, NULL, 1, NULL, NULL, &msg ); if (ret == LDAP_SUCCESS) ret = msg; else ret = ~0u; exit: strfreeU( dnU ); strfreeU( newdnU ); #endif return ret; }