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

custom auth



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