]> git.sur5r.net Git - openldap/commitdiff
ITS#7350 actually use zero-length value ACLs
authorHoward Chu <hyc@openldap.org>
Wed, 22 Aug 2012 22:29:17 +0000 (15:29 -0700)
committerHoward Chu <hyc@openldap.org>
Wed, 22 Aug 2012 22:29:17 +0000 (15:29 -0700)
servers/slapd/acl.c

index 92b4c43b03b5bbad33f2b188aef715e54f85774b..217832fd64d18d17e3683e585f6f73ddabe6629b 100644 (file)
@@ -614,7 +614,7 @@ slap_acl_get(
                }
 
                /* Is this ACL only for a specific value? */
-               if ( a->acl_attrval.bv_len ) {
+               if ( a->acl_attrval.bv_val ) {
                        if ( val == NULL ) {
                                continue;
                        }