View Single Post
  #1   (View Single Post)  
Old 27th May 2008
kronic kronic is offline
New User
 
Join Date: May 2008
Posts: 2
Default Postfix, SASL w/ LDAP

I'm trying to get SASL auth working in Postfix via LDAP. I've compiled SASL from source and added LDAP support.

I'm able to auth to sasl daemon using the test utility, however I get the following error when attempting auth using an SMTP client:

Code:
postfix/smtpd: warning: SASL authentication failure: Could not open db
Here is the appropriate configs:
main.cf:
Code:
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smmtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_path = /usr/local/lib/sasl2/smtpd
smtp_sasl_auth_enable = no
smtpd.conf
Code:
pwcheck_method: saslauthd
mech_list: login
authdaemond_path: /var/run/sasl2/mux
Reply With Quote