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

strange regexp behaviour



Hi,
I face a strange behaviour of a authz regexp. This is part of my
slapd.conf

authz-regexp "gidNumber=(.*)\+uidNumber=(.*),cn=peercred,cn=external,cn= auth"
 "ldap:///o=avci,c=de?dn?sub?(&(uidNumber=$2)(gidNumber=$1))"

The result of a ldapwhoami:

SASL/EXTERNAL authentication started
SASL username: gidNumber=100+uidNumber=1000,cn=peercred,cn=external,cn=auth
SASL SSF: 0
dn:gidNumber=100+uidNumber=1000,cn=peercred,cn=external,cn=auth

A result of search
ldapsearch -Y EXTERNAL -H ldapi:/// -b o=avci,c=de -s sub
"(&(gidNumber=100)(uidNumber=1000))" dn

dn: cn=Dieter Kluenter,ou=Partner,o=avci,c=de
result: 0 Success

This regexp has been working for ages, in fact it hasn't been changed
since Ando's first announcement.

Any idea what might have been changed?

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E