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

»Ø¸´: acl question

    the $1 and $2 just refer the dc=([^,]+) and dc=([^,]+), below is a full
example for this :

access to dn="ou=People,dc=com,dc=cn"
by  group="cn=Managers,dc=com,dc=cn" write
by  dn=".*" read

                                lucky :P) by China, X.D.Chen

-----Original Message-----
·¢¼þÈË: nicholas cole <nick@profile.com>
ÊÕ¼þÈË: qmail-ldap@argus.pipeline.ch <qmail-ldap@argus.pipeline.ch>
ÈÕÆÚ: 2001Äê4ÔÂ10ÈÕ 15:55
Ö÷Ìâ: acl question

>Can anyone explain to me what the $1 and $2 are for/how they work?
>access to dn="ou=People,dc=([^,]+),dc=([^,]+)"
> attrs=children,entry,uid
> by  group="cn=Managers,dc=$1,dc=$2" write
> by  dn=".*" read
>(I copied that from http://www.openldap.org/faq/data/cache/52.html)