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

Re: ACL attr=children problem



On Wed, 2005-11-16 at 17:49 +0100, Jimmy Ott wrote:

> i was too stupid to think.

:)

> i solved it now with:
> 
> access to dn.regex="^(.+,)?ou=(.+),ou=domains,dc=intra,dc=onnet,dc=ch$"
>   by dn.regex="^cn=postmaster,ou=$2,ou=domains,dc=intra,dc=onnet,dc=ch$"
> write
> 
> yippiee! thanks for your help, you pointed me to the right approach!

Your solution is slightly less than optimal, because you waste a
regcomp/regexec on what actually should be exact match; see my previous
posting.  In any case, you did a good job yourself.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------