]> git.sur5r.net Git - openldap/commitdiff
More for prev commit
authorHoward Chu <hyc@openldap.org>
Wed, 25 Feb 2015 00:39:14 +0000 (00:39 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 25 Feb 2015 00:39:14 +0000 (00:39 +0000)
contrib/slapd-modules/autogroup/autogroup.c

index 98155e1a7514a3e9240c2d93f1aa242e549097f2..af2dbf20aecf2d9743bfc9c43a562e054145baa4 100644 (file)
@@ -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