DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th May 2008
kronic kronic is offline
New User
 
Join Date: May 2008
Posts: 2
Thanked 0 Times in 0 Posts
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
  #2   (View Single Post)  
Old 29th May 2008
kronic kronic is offline
New User
 
Join Date: May 2008
Posts: 2
Thanked 0 Times in 0 Posts
Default

Fixed. It was the smtpd.conf path.
Reply With Quote
  #3   (View Single Post)  
Old 19th June 2008
jeev jeev is offline
New User
 
Join Date: Jun 2008
Posts: 1
Thanked 0 Times in 0 Posts
Default

what was your full solution? i'm having a real hard time figuring this out.

where SHOULD smtpd.conf be??
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Postfix and Sasl auth unixbsd OpenBSD General 1 27th April 2009 03:26 AM
Email and SASL JMJ_coder General software and network 3 8th February 2009 05:09 AM
LDAP revzalot General software and network 0 16th August 2008 02:39 PM
NIS+ to ldap. meleehunt Solaris 4 20th May 2008 08:22 PM
Working Configuration for Openbsd 4.0 - Postfix - SASL - TLS roundkat Guides 0 4th May 2008 05:38 PM


All times are GMT. The time now is 09:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick