Red Hat Bugzilla – Bug 197553
testsaslauthd requires cyrus-imapd but the RPM doesn't
Last modified: 2007-11-30 17:11:36 EST
Description of problem:
testsaslauthd apparently assumes cyrus-imapd is installed
yet doesn't complain if it is not, just fails
Version-Release number of selected component (if applicable):
every time I tried it
Steps to Reproduce:
1. verify cyrus-imapd is not installed, e.g. /etc/pam.d/imap does not exist
2. testsaslauthd -u validuser -p validpassword_for_validuser (will fail)
3. testsaslauthd -s login -u validuser -p validpassword_for_validuser (succeeds)
Additional info: after I said "yum install cyrus-imapd" it succeeded
As you've noticed, the default service name is "imap", and saslauthd uses the
client-supplied service name when calling into PAM, so if you don't have a
/etc/pam.d/imap file (which you don't unless you have one of either the Cyrus or
UW IMAP servers), saslauthd's attempt at pam_authenticate() is expected to fail
when PAM falls back to the configuration specified in /etc/pam.d/other.
I'm not inclined to change this, as testsaslauthd is a diagnostic tool and it's
a documented behavior. Closing as wontfix for that reason.
May I ask where the "documented behavior" is documented?
It's kind of fuzzy but I don't recall any manpage for testsaslauthd.
But thank you in any case for your response. Sorry to bother you.
It's in the sysadmin guide (sysadmin.html in the -lib package ATM). And don't
worry, a reasoned change request doesn't bother me at all. :)