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

Re: Re: Variables/Substitution in ACL's


"Kurt D. Zeilenga" schrieb:
> At 02:21 AM 2001-08-30, Timo Boettcher wrote:
> ><= a_dn_pat: .*cn=([^,]+),ou=people,o= $1 ,ou=customers,o=myorganisation
> >why is the "$1" not substituted?
> That message reports the regex pre-substitution.  Note that the
> extra spaces (before and after the $1) will cause this clause
> not to match anything.
Thanks for your help. This one is working now.

Just one other question:
=> acl_mask: access to entry
"object=someobject,cn=Timo,ou=people,o=myorganisation", attr
"objectClass" requested 
=> acl_mask: to all values by "CN=TIMO,OU=PEOPLE,O=MYORGANISATION",
<= check a_dn_pat: cn=$2,ou=people,o=myorganisation 
Why is the $2 not substituted there?
<= acl_mask: [1] applying write (=wrscx) (stop) 
<= acl_mask: [1] mask: write (=wrscx) 
=> access_allowed: search access granted by write (=wrscx) 

Since the whole thing is working, though, it is only a question of

Timo Boettcher