cyrus-sasl 2.1.14 as a wrong option "-H" in /etc/conf.d/saslauthd Reproducible: Always Steps to Reproduce: 1.install cyrus-sasl 2.try to start saslauthd 3. Actual Results: in gives an error about a wrong option "-H" Expected Results: it should start OK
Created attachment 25408 [details, diff] If fixes the wrong "-H" option
If you adapt the config file to read the folowing, the problem is also suppressed (not solved): ---snip--- # Tack the above options together [ -n "${SASL_AUTHMECH}" ] && \ SASLAUTHD_OPTS="-a ${SASL_AUTHMECH}" [ -n "${SASL_RIMAP_HOSTNAME}" ] && \ SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -H ${SASL_RIMAP_HOSTNAME}" [ -n "${SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS}" ] && \ SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -T"
Same problem. saslauthd has no -H option, so it shouldn't be there. The maintainer also incorrectly assumes that setting a varible="" unsets it, which it does not. All three optional sections are being executed. The solution is to instruct the user to comment out items rather than setting them to "" (and comment out the RIMAP var in the conf script as it's off by default).
-T for SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS is also unknown to saslauthd
Any chance you can try cyrus-sasl-2.0.18?
This should fix everything, but -T is unsupported in this version so don't set the time of day restrictions to anything but blank. *** saslauthd.orig Wed Mar 17 10:55:08 2004 --- saslauthd Wed Mar 17 11:22:44 2004 *************** *** 1,6 **** ! # Copyright 1999-2004 Gentoo Technologies, Inc. ! # Distributed under the terms of the GNU General Public License v2 ! # $Header: /home/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd.conf,v 1.2 2004/03/04 18:36:16 vapier Exp $ # Config file for /etc/init.d/saslauthd --- 1,6 ---- ! # Copyright 1999-2002 Gentoo Technologies, Inc. ! # Distributed under the terms of the GNU General Public License, v2 or later ! # $Header: /home/cvsroot/gentoo-x86/dev-libs/cyrus-sasl/files/saslauthd.conf,v 1.1 2004/01/14 19:42:47 max Exp $ # Config file for /etc/init.d/saslauthd *************** *** 12,24 **** # Honour time-of-day login restrictions (if shadow auth mech is used) # Make this ="" to turn it off. Putting =no will turn it on! ! SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS=yes # Tack the above options together ! [ -n ${SASL_AUTHMECH} ] && \ SASLAUTHD_OPTS="-a ${SASL_AUTHMECH}" ! [ -n ${SASL_RIMAP_HOSTNAME} ] && \ ! SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -H ${SASL_RIMAP_HOSTNAME}" ! [ -n ${SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS} ] && \ SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -T" --- 12,25 ---- # Honour time-of-day login restrictions (if shadow auth mech is used) # Make this ="" to turn it off. Putting =no will turn it on! ! #SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS=yes ! SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS="" # Tack the above options together ! [ -n "${SASL_AUTHMECH}" ] && \ SASLAUTHD_OPTS="-a ${SASL_AUTHMECH}" ! [ -n "${SASL_RIMAP_HOSTNAME}" ] && \ ! SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -O rimap=${SASL_RIMAP_HOSTNAME}" ! [ -n "${SASL_TIME_OF_DAY_LOGIN_RESTRICTIONS}" ] && \ SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -T"
I just commented out the lines that I didn't understand :) Seems to work.
That's Correct.
*** Bug 46727 has been marked as a duplicate of this bug. ***