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

Access question



slapd.conf:

access to *
        by self read
        by anonymous search


sample ldif:

dn: uid=foo159,ou=Ensomembers,dc=test,dc=ensoport,dc=com
userPassword:: ************************=
uid: foo159
givenName: csFooUser159
objectClass: ensoMember
sn: csBarUser159
cn: csFooUser159 csBarUser159


I want to be able to anonymously search the database to find the dn so
that I can then bind as the dn, but ldapsearch returns nothing unless I
open up the permissions to 'by anonymous read'.

What am I missing?

# ldapsearch -b ou=ensomembers,dc=test,dc=ensoport,dc=com uid=foo159 dn
version: 2

#
# filter: uid=foo159
# requesting: dn 
#

# search result
search: 2
result: 0 Success

# numResponses: 1

Thanks,
Kevin Hildebrand
ensoport Internetworks