Public bug reported: Binary package hint: libsasl2
If I set the MECHANISMS in /etc/defaults/saslauthd to "pam rimap", when saslauthd is started by the init.d script, it loads only pam. However, If I just have 1 auth_mech, then that one seems to work OK. I redirected the output of saslauthd to /var/log/sasl.log and added the -V option. Snippet 1 below shows a single auth_mech working. Snippet 2 shows the second one (rimap) seems to get forgotten. I hope I haven't made a silly mistake and wasted any-ones time. Paul (aka. Gargoyle) --- 8< ---- Snippit 1 ---- 8< --- -- /etc/defaults/saslauthd -- # This needs to be uncommented before saslauthd will be run automatically # START=yes # You must specify the authentication mechanisms you wish to use. # This defaults to "pam" for PAM support, but may also include # "shadow" or "sasldb", like this: # MECHANISMS="pam shadow" START=yes PWDIR="/var/spool/postfix/var/run/saslauthd" PARAMS="-V -r -O localhost -m ${PWDIR}" PIDFILE="${PWDIR}/saslauthd.pid" MECHANISMS="rimap" -- /var/log/sasl.log -- saslauthd[22466] :main : num_procs : 5 saslauthd[22466] :main : mech_option: localhost saslauthd[22466] :main : run_path : /var/spool/postfix/var/run/saslauthd saslauthd[22466] :main : auth_mech : rimap saslauthd[22466] :ipc_init : using accept lock file: /var/spool/postfix/var/run/saslauthd/mux.accept --- 8< ---- Snippit 2 ---- 8< --- -- /etc/defaults/saslauthd -- # This needs to be uncommented before saslauthd will be run automatically # START=yes # You must specify the authentication mechanisms you wish to use. # This defaults to "pam" for PAM support, but may also include # "shadow" or "sasldb", like this: # MECHANISMS="pam shadow" START=yes PWDIR="/var/spool/postfix/var/run/saslauthd" PARAMS="-V -r -O localhost -m ${PWDIR}" PIDFILE="${PWDIR}/saslauthd.pid" MECHANISMS="pam rimap" -- /var/log/sasl.log -- saslauthd[22578] :main : num_procs : 5 saslauthd[22578] :main : mech_option: localhost saslauthd[22578] :main : run_path : /var/spool/postfix/var/run/saslauthd saslauthd[22578] :main : auth_mech : pam saslauthd[22578] :ipc_init : using accept lock file: /var/spool/postfix/var/run/saslauthd/mux.accept ** Affects: cyrus-sasl2 (Ubuntu) Importance: Undecided Status: Unconfirmed -- init.d script only seems to be seeing first auth_mech https://launchpad.net/bugs/72097 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs