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?
also, you might try starting saslauthd: # saslauthd -a pam & in imapd.conf sasl_passwd_check: sasldb # saslpasswd -c cyrususer # sasldblistusers *** NOTE WHAT REALM THE PASSWORDS ARE IN *** # imtest -a cyrususer -u cyrususer -r REALM REALM Jeff > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Phil Dibowitz > Sent: Tuesday, May 21, 2002 3:18 PM > To: [EMAIL PROTECTED] > Subject: Re: Secure Imap Problems > > > Alright, brand-spankin' new Cyrus-imap 2.0.16 installed from source. > > I want to get regular imap working before secure imap. I got my > imapd.conf > file set, and my cyrus.conf file set. I have two users (cyrus and > test) who > both have real accounts, and sasldb accounts. > > I can't authenticate. > > I've tried > sasl_passwd_check: sasldb > sasl_passwd_check: passwd > sasl_passwd_check: shadow > > And I've restarted 'master' each time.... and onery attempt to > login gives me: > > C: L01 LOGIN test {13} > + go ahead > C: <omitted> > L01 NO Login failed: authentication failure > Authentication failed. generic failure > Security strength factor: 0 > > That's from imtest. (imtest -m login -p imap localhost) > > Maybe this is more helpful - when I try to use cyradm localhost I get: > > Login failed: authentication failure at > /usr/lib/perl5/site_perl/5.6.0/i386-linux/Cyrus/IMAP/Admin.pm line 78 > cyradm: cannot authenticate to server with as test > > The users I'm trying are 'cyrus' and 'test.' Cyrus is an 'admin' in > imapd.conf, while test is not. > > GAH! > > Phil > -- > "They that can give up essential liberty to obtain a little > temporary safety > deserve neither liberty nor safety." > -Benjamin Franklin, 1759 > >