From: Howard Chu Date: Wed, 25 Feb 2015 00:39:14 +0000 (+0000) Subject: More for prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46c07bbfb5ce3ece35fe8e89b2dfb72cd3f33b5a;p=openldap More for prev commit --- diff --git a/contrib/slapd-modules/autogroup/autogroup.c b/contrib/slapd-modules/autogroup/autogroup.c index 98155e1a75..af2dbf20ae 100644 --- a/contrib/slapd-modules/autogroup/autogroup.c +++ b/contrib/slapd-modules/autogroup/autogroup.c @@ -1175,7 +1175,7 @@ autogroup_response( Operation *op, SlapReply *rs ) 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 ( test_filter( op, &etmp, agf->agf_filter ) == LDAP_COMPARE_TRUE ) { if ( ea ) { autogroup_add_member_values_to_group( op, &new_dn, age, ea ); } else