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

regex ACLs & SASL



hi,

in slapd.conf i define a regular expression to grant full access to an
user:

access to *
	by dn="UID=MATZE\+REALM=LDAP\.ELPIS\.BCN"
	write
	by * read

when i access with the user matze to add or modify an entry the
operation is rejected with the message that he doesn't hace the
necessary permissions:

Jul 14 18:27:29 rantanplan slapd[5686]: => string_expand: pattern:
UID=MATZE+REALM=LDAP.ELPIS.BCN
Jul 14 18:27:29 rantanplan slapd[5686]: => string_expand: expanded:
UID=MATZE+REALM=LDAP.ELPIS.BCN
Jul 14 18:27:29 rantanplan slapd[5686]: => regex_matches: string:
UID=MATZE+REALM=LDAP.ELPIS.BCN
Jul 14 18:27:29 rantanplan slapd[5686]: => regex_matches: rc: 1 no
matches
Jul 14 18:27:29 rantanplan slapd[5686]: ====> cache_return_entry_w(=
 2
): returned (0)
Jul 14 18:27:29 rantanplan slapd[5686]: no write access to parent


the pattern is UID=MATZE+REALM=LDAP.ELPIS.BCN, the expanded one
UID=MATZE+REALM=LDAP.ELPIS.BCN and the expression to match too. how
can it be that the return code is 'no matches'?=20

thanx in advance

matze

-- 
* usando software libre / Debian GNU/Linux *

matze[AT]indymedia.org    |   http://barcelona.indymedia.org
indYgena[AT]gmx.net       |   http://sindominio.net/kernelpanic
				
gpg --keyserver keys.indymedia.org --recv-keys B9A88F6F A41D361B


Attachment: pgpw3GGrMnuYs.pgp
Description: PGP signature