init.d script only seems to be seeing first auth_mech
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cyrus-sasl2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libsasl2
If I set the MECHANISMS in /etc/defaults/
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/
# 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="
PARAMS="-V -r -O localhost -m ${PWDIR}"
PIDFILE=
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/
saslauthd[22466] :main : auth_mech : rimap
saslauthd[22466] :ipc_init : using accept lock file: /var/spool/
--- 8< ---- Snippit 2 ---- 8< ---
-- /etc/defaults/
# 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="
PARAMS="-V -r -O localhost -m ${PWDIR}"
PIDFILE=
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/
saslauthd[22578] :main : auth_mech : pam
saslauthd[22578] :ipc_init : using accept lock file: /var/spool/
What version of Ubuntu are you using? Is this still an issue?