fixes ITS #1379; the replication test has been improved by adding modrdn entries

This commit is contained in:
Pierangelo Masarati 2001-10-09 18:12:22 +00:00
parent 7f79cd0047
commit 069155f667

View File

@ -426,7 +426,7 @@ op_ldap_modrdn(
return -1;
}
newrdn = mi[ i ].mi_val;
newsup = mi[ i ].mi_val;
state |= GOT_NEWSUP;
} else {
@ -463,7 +463,7 @@ op_ldap_modrdn(
#endif /* LDAP_DEBUG */
/* Do the modrdn */
rc = ldap_rename2_s( ri->ri_ldp, re->re_dn, mi->mi_val, newsup, drdnflag );
rc = ldap_rename2_s( ri->ri_ldp, re->re_dn, newrdn, newsup, drdnflag );
ldap_get_option( ri->ri_ldp, LDAP_OPT_ERROR_NUMBER, &lderr);
return( lderr );