From: Howard Chu Date: Sun, 3 Jul 2005 01:51:35 +0000 (+0000) Subject: ITS#3830, fix val-specific ACLs X-Git-Tag: OPENLDAP_AC_BP~469 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c246fce39065942316efff67c00da5e56a03029;p=openldap ITS#3830, fix val-specific ACLs --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index c456a82742..89b69b96e9 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -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;