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

Re: read access control is required.

I wrote:
>MS Cheung writes:
>> We would like to set up an access control to allow the mail server has
>> a read access to all the LDAP data; but the end users only have a read
>> access to their own personal data.  Would someone please help to
>> provide us an example of the ACL setup.
> (...)
> access to attrs=userPassword by * auth
> (...)
> access to * by dn.exact=cn=mailserver,dc=example,dc=com
>                peername.ip=
>                read
>             by self read
>             by *    none

Um, that only allows direct lookup of the entires.
Maybe you only want to prevent access to account or person
entries, but allow unauthenticated access to other entries.
If so, the "access to *" should be something like
     access to filter=(objectClass=account)
     access to dn.children=ou=accounts,dc=example,dc=com
or whatever matches the entries you wish to regulate access to.