Authentification Postfix + SASL + LDAP
Posted: 2011/12/26 14:54:17
Hi all,
I would to configure authentication in my smtp server with sasl via LDAP
Ive 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 doesnt 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
I would to configure authentication in my smtp server with sasl via LDAP
Ive 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 doesnt 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