custom auth

Marten Lehmann <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Hello,

for a mail relay setup I need to check a login and password against ldap 
by trying to bind with authentication.

In my slapd.conf I have these lines (among others):

suffix          "dc=mail"
rootdn          "cn=admin,ou=users,dc=mail"

access to attrs=userPassword
        by anonymous auth
        by * none

How do I tell OpenLDAP to authenticate against 
cn=<login>,ou=users,dc=mail and its userPassword attribute?

Kind regards
Marten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.