From 069155f66762ee9c0b2af5fbdcb68b497de427d9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 9 Oct 2001 18:12:22 +0000 Subject: [PATCH] fixes ITS #1379; the replication test has been improved by adding modrdn entries --- servers/slurpd/ldap_op.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slurpd/ldap_op.c b/servers/slurpd/ldap_op.c index f947228340..d3a5a8ee54 100644 --- a/servers/slurpd/ldap_op.c +++ b/servers/slurpd/ldap_op.c @@ -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 ); -- 2.39.5