]> git.sur5r.net Git - openldap/commitdiff
ITS#3830, fix val-specific ACLs
authorHoward Chu <hyc@openldap.org>
Sun, 3 Jul 2005 01:51:35 +0000 (01:51 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 3 Jul 2005 01:51:35 +0000 (01:51 +0000)
servers/slapd/acl.c

index c456a82742601c73d418bcfda49469495fee9884..89b69b96e95248afad01ed11b1fb9ba45f82c02c 100644 (file)
@@ -881,7 +881,7 @@ slap_acl_get(
 
                        if( state && !( state->as_recorded & ACL_STATE_RECORDED_VD )) {
                                state->as_recorded |= ACL_STATE_RECORDED_VD;
-                               state->as_vd_acl = prev;
+                               state->as_vd_acl = a;
                                state->as_vd_acl_count = *count;
                                state->as_vd_access = a->acl_access;
                                state->as_vd_access_count = 1;