[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ACL and multiple mandatory conditions



Emmanuel Dreyfus <manu@netbsd.org> wrote:

> Indeed it seems I forgot one bit, in servers/slapd/acl.c:
> 
>     if ( a->acl_attrval_style == ACL_STYLE_REGEX ) {
>         Debug( LDAP_DEBUG_ACL,
>                     "acl_get: valpat %s\n",
>                      a->acl_attrval.bv_val, 0, 0 );
>          if ( regexec( &a->acl_attrval_re, val->bv_val, 0, NULL, 0 ) )
> 
> This regexec does not collect matches, I susepct this is the problem

And it has been fixed after 2.4.13, this is an already fixed bug.  Cool.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org