X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Facl.c;h=fc4f90aa7b3d66ddf98444a104e937289ee02478;hb=fb0b0688b0457150b9748dc3beee93cb548bb205;hp=92b4c43b03b5bbad33f2b188aef715e54f85774b;hpb=a8f6deee03fc563903130103a2765d4134ce9b1f;p=openldap diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 92b4c43b03..fc4f90aa7b 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2012 The OpenLDAP Foundation. + * Copyright 1998-2013 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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; }