From: Howard Chu Date: Wed, 25 Feb 2015 00:30:36 +0000 (+0000) Subject: More for ITS#6970 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79bbf05c5af6a0aa405582a5e8166488067c25b7;p=openldap More for ITS#6970 modrdn had the same bug --- 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 ) {