Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46727

Summary: cyrus-sasl package assumes saslauthd is compiled to accept -H and -T options
Product: Gentoo Linux Reporter: Davin Boling <davin>
Component: Current packagesAssignee: Max Kalika (RETIRED) <max>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Davin Boling 2004-04-03 15:56:02 UTC
I re-merged postfix with the "sasl" and "kerberos" flags set this time because I was interested in playing with alternate authentication methods. The included initscript for saslauthd will not run out of the box. Commenting out the last four lines of /etc/conf.d/saslauthd will allow the initscript to function properly.



Reproducible: Always
Steps to Reproduce:
1. emerge cyrus-sasl
(+berkdb +gdbm -java +kerberos +ldap +mysql +pam +ssl -static)
2. /etc/init.d/saslauthd start
Actual Results:  
[root@halcyon /etc/postfix]$ /etc/init.d/saslauthd start
 * 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             Dispaly this message.


saslauthd 2.1.14
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
                                                                          [ ok ]

(the OK is a false positive)

Expected Results:  
Initscript should start without erronous output.
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-04-04 07:46:50 UTC

*** This bug has been marked as a duplicate of 41247 ***