Authentification Postfix + SASL + LDAP

Issues related to applications and software problems

Authentification Postfix + SASL + LDAP

Postby 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: Select all
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN


/etc/saslauthd.conf :
Code: Select all
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))


My problem is that Authentication doesn’t wok
Code: Select all
# testsaslauthd -u test-p test
0: NO "authentication failed"

the user "test" exist in ldap

Any ideas please
Thank you a lot
msm_007
 
Posts: 5
Joined: 2010/04/29 15:18:26

Return to CentOS 6 - Software Support

Who is online

Users browsing this forum: No registered users and 5 guests