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

authz-regexp and uid's



Hello,
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:
authz-regexp
          uid=([^,]*),ou=People,dc=org,dc=com
          ldap:///ou=People,dc=org,dc=com??one?(uid=$1)


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
subscribedlists@derekbodner.com