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

Re[2]: openldap 1.2.11 + glibc 2.2.1 error: bad because of Invalid preceding regular expression (ITS#973)



On Fri, 19 Jan 2001 08:55:49 -0800 Kurt D. Zeilenga <Kurt D. Zeilenga <Kurt@OpenLDAP.org>> wrote:

 >| Yes, your ACLs contain invalid regexes.  In particular,
 >| the leading stars likely should be preceeded by a ".".
 >| See re_format(7) or other page detailing POSIX regexes
 >| for details.

Thanks Kurt.
It was working without the "." in openldap v1.2.9 with glibc v?.?.?.

Seems to works well, now, after adding the "." .

Just to be sure: in such expression 
        dn=".*,ou=(.*),dc=aa,dc=bb"
Is $1 the first (.*) (the "ou" part) ?


Manuel

 >| At 10:57 AM 1/19/01 +0000, ml@sbuilders.com wrote:
 >| >I've upgrade to glibc 2.2.1 (glibc-2.2.1-3mdk.i586.rpm) and openldap 1.2.11 (openldap-servers-1.2.11-15.i386.rpm).
 >| >Now, when I restart slapd, I get:
 >| >
 >| >line 63 (access to dn="*,dc=(.*),dc=zero,dc=sh,ou=oxyroot"      attr=children   
 >| >by dn="cn=replication,ou=accounts,o=oxymium,ou=companies,ou=oxyroot" write      
 >| >by group="cn=super-admins,ou=groups,ou=oxyroot" write   by group="dc=zero,dc=sh,
 >| >ou=oxyroot" write       by group="cn=add-access,dc=zero,dc=sh,ou=oxyroot" write 
 >| >by group="dc=$1,dc=zero,dc=sh,ou=oxyroot" write by * read)
 >| >/etc/openldap/slapd.conf: line 63: regular expression "*,dc=(.*),dc=zero,dc=sh,o
 >| >u=oxyroot" bad because of Invalid preceding regular expression


--
______________________________________________________________________
Manuel Guesdon - Software Builders <mguesdon@sbuilders.com>
14 rue Jean-Baptiste Clement  -  93200 Saint-Denis  -  France
Tel: +33 1 4940 0999  -  Fax: +33 1 4940 0998