Authentification Postfix + SASL + LDAP

Issues related to applications and software problems
Post Reply
msm_007
Posts: 5
Joined: 2010/04/29 15:18:26

Authentification Postfix + SASL + LDAP

Post by msm_007 » 2011/12/26 14:54:17

Hi all,
I would to configure authentication in my smtp server with sasl via LDAP
I’ve installed ldap and it works well
This is my configuration files of sasl:

/usr/lib64/sasl2/smtpd.conf :
[code]pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
[/code]

/etc/saslauthd.conf :
[code]ldap_servers: ldap://127.0.0.1
#ldap_auth_method: bind
ldap_search_base: ou=people,dc=example,dc=tn
#ldap_bind_pw:
ldap_filter: (&(objectClass=uidObject)(uid=%u))
[/code]

My problem is that Authentication doesn’t wok
[code]
# testsaslauthd -u test-p test
0: NO "authentication failed"
[/code]
the user "test" exist in ldap

Any ideas please
Thank you a lot

Post Reply