NOTE: I'm replying to both Tim and Jeff here....

Tim Pushor wrote:

> try sasl_pwcheck_method: sasldb


I noticed that the HowTO says "sasl_passwd_check" while the man page and 
official docs say "sasl_pwcheck_method" - I tried both with the same result...

NOTE: Authentication does seem to work (atleast the Howto says that's what the 
following means):

C: L01 LOGIN test {13}
+ go ahead
C: <omitted>

but then fails a few seconds later with:

L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0


Jeff Bert wrote:
 > when you use '-m login' imtest bypasses the sasldb and goes straight
 > for your shadow file.  did you try that with a valid linux user?

Yup, both users are valid linux and sasl users.
 > also, you might try starting saslauthd:
 >
 > # saslauthd -a pam &

Don't seem to have that...

 > in imapd.conf
 >
 > sasl_passwd_check: sasldb

GRRR. The docs say it's sasl_pwcheck_method.... which one's correct?

 > # saslpasswd -c cyrususer

I did this for 'test'... but adding the -c flag didn't change anything.

 > # sasldblistusers
 >
 > *** NOTE WHAT REALM THE PASSWORDS ARE IN ***

They're all in 'bonanza' which is the name of the host. there's 3 of each one, 
one for each authentication mechanism.

 > # imtest -a cyrususer -u cyrususer -r REALM REALM

imtest -a test -u test -r bonanza bonanza
imtest -a test -u test -r bonanza localhost

neither fully work. They both give the same as above... they seem to work, 
then a  few seconds later I get an error.

Phil Dibowitz
-- 
"They that can give up essential liberty to obtain a little temporary safety 
deserve neither liberty nor safety."
-Benjamin Franklin, 1759

Reply via email to