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

using access to in slapd.conf

Hi all,

I have the following in the slapd.conf file:

access to *
        by dn="cn=rachel,dc=warwick,dc=ac,dc=uk" read
        by * none

Then I do a ldapsearch:

>ldapsearch -D 'cn=rachel,dc=warwick,dc=ac,dc=uk' -b
'dc=warwick,dc=ac,dc=uk' -v '(objectclass=*)' 

version: 2

# filter: (objectclass=*)
# requesting: ALL

# search result
search: 2
result: 0 Success

# numResponses: 1 

It does not display the result, although i have allowed the cn=rachel to read
in slapd.conf. Why is it so? However, if I write in the slapd.conf:

> access to * by * read

it shows me all the entries. Please help. Thanks,