Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39646 - /etc/init.d/saslauthd complains about the -H option
Summary: /etc/init.d/saslauthd complains about the -H option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-28 03:06 UTC by Pieter De Wit
Modified: 2004-01-28 06:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter De Wit 2004-01-28 03:06:46 UTC
* Starting saslauthd...
/usr/sbin/saslauthd: invalid option -- H
usage: saslauthd [options]

option information:
  -a <authmech>  Selects the authentication mechanism to use.
  -c             Enable credential caching.
  -d             Debugging (don't detach from tty, implies -V)
  -O <option>    Optional argument to pass to the authentication
                 mechanism.
  -l             Disable accept() locking. Increases performance, but
                 may not be compatible with some operating systems.
  -m <path>      Alternate path for the saslauthd working directory,
                 must be absolute.
  -n <procs>     Number of worker processes to create.
  -s <kilobytes> Size of the credential cache (in kilobytes)
  -t <seconds>   Timeout for items in the credential cache (in seconds)
  -v             Display version information and available mechs
  -V             Enable verbose logging
                 authentication mechanisms and exit.
  -h             Display this message.

saslauthd 2.1.17
authentication mechanisms: getpwent pam rimap shadow


Reproducible: Always
Steps to Reproduce:
1. Fresh install of sasl
2. Try to start it
3.

Actual Results:  
Didn't start

Expected Results:  
saslauthd should have started
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-01-28 04:36:14 UTC
Are you sure this is a fresh installation of sasl?  The -H option is not used anywhere in
/etc/{conf,init}.d/saslauthd in the current files.  Make sure you upgrade all your config files
via dispatch-conf or etc-update.  Please post those files after upgrading if problems persist.
Comment 2 Pieter De Wit 2004-01-28 05:09:24 UTC
Fresh from the filesystem :)

# 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

# Authentications mechanism (for list see saslauthd -v)
SASL_AUTHMECH=pam

# Hostname for remote IMAP server (if rimap auth mech is used)
SASL_RIMAP_HOSTNAME=""

# 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"
Comment 3 Pieter De Wit 2004-01-28 05:18:05 UTC
(I am hoping that this will solve my problem with sendmail that can't auth.)
Comment 4 Max Kalika (RETIRED) gentoo-dev 2004-01-28 06:24:03 UTC
fixed.  to avoid rebuilding all of it, just chage -H to -O in /etc/conf.d/saslauthd.
Comment 5 Pieter De Wit 2004-01-28 06:40:31 UTC
This worked - sendmail still giving issues though.....