auth problems, cyrus not using my saslauthd/pam config

Dan White dwhite at olp.net
Wed May 26 18:59:01 EDT 2010


On 26/05/10 11:39 -0400, Steve Maring wrote:
>I am on an Ubuntu 10.04 system with Cyrus 2.2.13 trying to get my imap
>user's to auth again my mysql database.
>
>I can do this:
>
># testsaslauthd -u smaring at rhythix.com -p xxxxxxxx -f
>/var/spool/postfix/var/run/saslauthd/mux -s imap
>0: OK "Success."
>
>However, I never seem to be able to step up one level and authenticate
>through imap:
  
>my /etc/imapd.conf:
>
>sasl_mech_list: PLAIN LOGIN
>loginrealms: rhythix.com
>virtdomains: userid
>sasl_pwcheck_method: saslauthd
>sasl_auto_transition: no

You need:

sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux

and verify that your cyrus user has permissions to the mux.

>my /etc/default/saslauthd:
>
>START=yes
>DESC="SASL Authentication Daemon"
>NAME="saslauthd"
>MECHANISMS="pam"
>MECH_OPTIONS=""
>THREADS=5
>OPTIONS="-m /var/spool/postfix/var/run/saslauthd -r"
>PWDIR="/var/spool/postfix/var/run/saslauthd"
>PARAMS="-m ${PWDIR}"
>PIDFILE="${PWDIR}/saslauthd.pid"

-- 
Dan White


More information about the Cyrus-sasl mailing list