OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Sasl + Mysql Issue

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Wed Jan 04 2006 - 07:39:19 CST


Am Wednesday 04 January 2006 14:29 schrieb newbie:

> # cat /etc/pam.d/smtp
> auth required pam_mysql.so verbose=1 user=dbuser passwd=dbpassword db=db
> host=myhost table=users usercolumn=userid passwdcolumn=password crypt=0
> sqllog=0

The account-Stack is completely missing.

Copy the auth-Line and 's/auth/account/'.

account required pam_mysql.so verbose=1 user=dbuser passwd=dbpassword db=db
 host=myhost table=users usercolumn=userid passwdcolumn=password crypt=0
 sqllog=0

> # saslauthd -v
> saslauthd 2.1.20

Check if saslauthd is really started with "-r".

--
        Andreas