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

ACL, regex and Variable Substitution



Hi,

I have the following ACL:

access to
 dn="user=(.*),domain=(.*),server=(.*),service=(.*),oc=(.*),a=cc"
	by
 group="group=admin,domain=$2,server=$3,service=$4,oc=$5,a=cc" write
	by self read
	by anonymous auth

In the logs, I get:
ldbm_back_group: cannot find group:
"GROUP=ADMIN,DOMAIN=,SERVER=,SERVICE=,OC=,APPLICATION=CC"

That means, substitution didn't work... or ?

I am using OpenLDAP 2.0.23

Cheers,
ace



-- 
Ace Suares, Internet Consultancy and Training
Keizersgracht 132,      1015 CW AMSTERDAM, NL
phone: 06 557 06 554    (+31 6 557 06 554) (voicebox)
fax: 08 48 707 705      (+31 84 870 770 5)
mailto:ace@suares.com   http://www.suares.com