Can't authenticate

James Brown jlbrown at bordo.com.au
Sat Jul 15 23:12:58 EDT 2006


When I type in $ /usr/local/bin/imtest -m login localhost

I get:

S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=SMB-NTLMv2  
AUTH=SMB-NT AUTH=SMB-LAN-MANAGER AUTH=MS-CHAPv2 AUTH=OTP AUTH=NTLM  
AUTH=GSSAPI AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=WEBDAV-DIGEST AUTH=DHX  
AUTH=APOP SASL-IR] mail1-bordo-com-au.local Cyrus IMAP4 v2.3.6 server  
ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=SMB-NTLMv2 AUTH=SMB- 
NT AUTH=SMB-LAN-MANAGER AUTH=MS-CHAPv2 AUTH=OTP AUTH=NTLM AUTH=GSSAPI  
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 AUTH=WEBDAV-DIGEST AUTH=DHX AUTH=APOP  
SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS  
NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT  
SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE  
CATENATE CONDSTORE IDLE URLAUTH
S: C01 OK Unknown Error Code: -1904809418
Please enter your password:
C: L01 LOGIN jlbrown {8}
S: + go ahead
C: <omitted>
S: L01 NO Login failed: generic failure
Authentication failed. generic failure
Security strength factor: 0

Log file auth.log says:

imap[343]: cannot connect to saslauthd server: No such file or directory

imapd.log says:

imap[343]: badlogin: localhost [::1] plaintext jlbrown SASL(-1):  
generic failure: checkpass failed

Looking at the FAQ it said to make sure the the cyrus user can access  
the unix domain socket (defaults to /var/run/mux). This file did not  
exist, so I did:

touch /var/run/mux

to create it. Changed permissions on the file to user cyrus.

If I start saslauthd using:

/usr/local/sbin/saslauthd -a shadow it says:

saslauthd[390] :set_auth_mech   : unknown authentication mechanism:  
shadow

Running on a Mac OS X 10.4.7 system.

Any help would be much appreciated.

Thanks,

James.



More information about the Info-cyrus mailing list