Authentication troubles

Mike O'Rourke mjoop at curia.op.org
Tue Apr 1 12:16:04 EST 2003


Hi Jay,

You might verify that the sasl_* settings in /etc/imapd.conf are
correct. It looks like sasl_pwcheck_method is set to saslauthd, but
either it is not running, or the socket it listens on is different from
what cyrus-imapd is looking for (the default, I _think_, is
/var/state/saslauthd/mux).

Also, your IMAP server will not accept a plain login (note the absence
of "AUTH=PLAIN" or "AUTH=LOGIN" in the IMAP4 Capabinities). You will
need an imtest command something like this:
  imtest -m login -t "" mail.plainhouse.com
although, I always use the -u and -a options on the command line.

Mike.


>>> "Jay Drake" <outoftheashes at hotmail.com> 04/01/03 06:41pm >>>
Having just recompiled from source and reinstalled cyrus-imap as well
as 
cyrus-sasl, paying close attention to the instructions in the /doc 
directory, I am having difficulties getting imtest to succeed. I would

greatly appreciate any help I could get.

Environment:

Redhat Linux 8 with 2.4.18-14 kernel

Cyrus version:

cyrus-sasl-2.1.12
cyrus-imapd-2.1.12

Copy of my attempt to use imtest as user jdrake:

[root at phoenix doc]# su jdrake
[jdrake at phoenix doc]$ /usr/local/bin/imtest -m login
mail.planhouse.com
S: * OK phoenix Cyrus IMAP4 v2.1.12 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
SORT 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=OTP AUTH=DIGEST-MD5 
AUTH=CRAM-MD5
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN jdrake {6}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: generic failure
Authentication failed. generic failure
Security strength factor: 0
. logout
* BYE LOGOUT received
. OK Completed
Connection closed.

Found in imapd.log:

Apr  1 11:00:04 phoenix master[21130]: process 21144 exited, status 0
Apr  1 11:00:09 phoenix master[21173]: about to exec
/usr/cyrus/bin/imapd
Apr  1 11:00:09 phoenix imap[21173]: executed
Apr  1 11:00:09 phoenix imapd[21173]: accepted connection
Apr  1 11:00:20 phoenix imapd[21173]: badlogin: 
ns1.planhouse.com[206.156.254.77] plaintext jdrake SASL(-1): generic 
failure: checkpass failed

Found in auth.log:

Apr  1 11:00:20 phoenix imapd[21173]: cannot connect to saslauthd
server: No 
such file or directory

I can't think of anything else to mention off the top of my head. I
hope 
someone can help me out. I really would love to have a working mail
server 
by the end of the day. (I'm tired of using hotmail...) :)

TIA,

Jay Drake

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus 





More information about the Info-cyrus mailing list