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

authz-regexp and uid's

I'm running an ldap 2.3 server, with users setup under cn=<first name> <last name>,ou=People,dc=org,dc=com.  I have an application that is trying to access the dn's directly, via uid=<username>,ou=People,dc=org,dc=com

I've setup an authz-regexp rule to try to rewrite the request:

But my query still seems to be failing

[dbodner@nagios01 ~]$ ldapsearch -h <ldap server> -x -b "uid=dbodner,ou=People,dc=org,dc=com"
# extended LDIF
# LDAPv3
# base <uid=dbodner,ou=People,dc=org,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL

# search result
search: 2
result: 32 No such object

# numResponses: 1

Any ideas on what I'm doing wrong ?

Derek Bodner