Mozilla Mail and authentication

grenoml grenoml at yahoo.com
Fri May 9 13:10:10 EDT 2003


Tracked part of problem to not starting saslauthd with -a pam.

Now having problem with mysql SqlLog.

May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: SELECT password FROM
accountuser WHERE username='webmaster.mydomain.com'
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: sqlLog called.
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: pam_mysql: error:
sqllog set but logtable not set
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: pam_mysql: error:
sqllog set but logmsgcolumn not set
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: pam_mysql: error:
sqllog set but logusercolumn not set
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: pam_mysql: error:
sqllog set but loghostcolumn not set
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: pam_mysql: error:
sqllog set but logtimecolumn not set
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: returning 0 .
May  9 12:58:13 tltamx01-lin01 saslauthd[16135]: returning 0.
May  9 12:58:15 tltamx01-lin01 saslauthd[16135]: AUTHFAIL:
user=webmaster.mydomain.com service=imap realm= [PAM auth error]
May  9 12:58:15 tltamx01-lin01 imap[16315]: badlogin:
tltdev01-lin01.mydomain.com [192.168.2.11] plaintext
webmaster.mydomain.com SASL(-13): authentication failure: checkpass
failed

How should the log settings be configured?

thx,
Gerry Reno

--- grenoml <grenoml at yahoo.com> wrote:
>   I've been trying to get Mozilla-Mail working.  I provide the
> correct
> password when it asks for it but the login never succeeds and the
> only
> things in the log are:
> 
> May  9 01:26:05 tltamx01-lin01 saslauthd[13375]: AUTHFAIL:
> user=webmaster service=imap realm=
> May  9 01:26:05 tltamx01-lin01 imap[13610]: badlogin:
> tltdev01-lin01.mydomain.com [192.168.2.11] plaintext webmaster
> SASL(-13): authentication failure: checkpass failed
> May  9 01:26:16 tltamx01-lin01 saslauthd[13375]: AUTHFAIL:
> user=webmaster service=imap realm=
> May  9 01:26:16 tltamx01-lin01 imap[13610]: badlogin:
> tltdev01-lin01.mydomain.com [192.168.2.11] plaintext webmaster
> SASL(-13): authentication failure: checkpass failed
> May  9 01:28:20 tltamx01-lin01 ctl_cyrusdb[13728]: checkpointing
> cyrus
> databases
> May  9 01:28:20 tltamx01-lin01 ctl_cyrusdb[13728]: DBERROR: error
> listing log files: DB_NOTFOUND: No matching key/data pair found
> May  9 01:28:20 tltamx01-lin01 ctl_cyrusdb[13728]: DBERROR: archive
> /var/lib/imap/db: cyrusdb error
> May  9 01:28:20 tltamx01-lin01 ctl_cyrusdb[13728]: done checkpointing
> cyrus databases
> May  9 01:29:36 tltamx01-lin01 saslauthd[13375]: AUTHFAIL:
> user=webmaster service=imap realm=
> May  9 01:29:36 tltamx01-lin01 imap[13690]: badlogin:
> tltdev01-lin01.mydomain.com [192.168.2.11] plaintext webmaster
> SASL(-13): authentication failure: checkpass failed
> 
> I checked saslauthd, cyrus-master, postfix master, all the process
> seem
> to be running ok.
> 
> Also when using 'imtest' such as:
> imtest -a cyrus -u webmaster.mydomain.com -m plain localhost
> 
> I see this response:
> S: C01 OK Completed
> C: A01 AUTHENTICATE PLAIN
> S: A01 NO no mechanism available
> Authentication failed. generic failure
> Security strength factor: 0
> 
> The only way I can get it to work is with:
> imtest -a cyrus -u webmaster.mydomain.com -v -m plain -t '' localhost
> S: C01 OK Completed
> C: S01 STARTTLS
> S: S01 OK Begin TLS negotiation now
> starting TLS engine
> setting up TLS connection
> SSL_connect:before/connect initialization
> ...
> S: C01 OK Completed
> C: A01 AUTHENTICATE PLAIN
> Please enter your password: 
> S: A01 OK Success (tls protection)
> Authenticated.
> Security strength factor: 256
> 
> So does this mean that the only way that Mozilla Mail client will
> work
> is with TLS?  I'm not quite understanding what's going on with this
> authentication.
> 
> thx,
> Gerry Reno
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com




More information about the Info-cyrus mailing list