mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fixes ITS #1379; the replication test has been improved by adding modrdn entries
This commit is contained in:
parent
7f79cd0047
commit
069155f667
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user