From 79bbf05c5af6a0aa405582a5e8166488067c25b7 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 25 Feb 2015 00:30:36 +0000 Subject: [PATCH] More for ITS#6970 modrdn had the same bug --- contrib/slapd-modules/autogroup/autogroup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/slapd-modules/autogroup/autogroup.c b/contrib/slapd-modules/autogroup/autogroup.c index 3186e1de97..98155e1a75 100644 --- a/contrib/slapd-modules/autogroup/autogroup.c +++ b/contrib/slapd-modules/autogroup/autogroup.c @@ -1170,6 +1170,10 @@ autogroup_response( Operation *op, SlapReply *rs ) autogroup_delete_member_from_group( op, &op->o_req_dn, &op->o_req_ndn, age ); } else if ( is_olddn == 0 && is_newdn == 1 ) { + Entry etmp; + etmp.e_name = op->o_req_dn; + etmp.e_nname = op->o_req_ndn; + etmp.e_attrs = attrs; for ( agf = age->age_filter; agf; agf = agf->agf_next ) { if ( test_filter( op, e, agf->agf_filter ) == LDAP_COMPARE_TRUE ) { if ( ea ) { -- 2.39.5