setup looks right ...but it won't authenticate ...

Marc G. Fournier scrappy at hub.org
Wed Jul 23 21:49:59 EDT 2003


Just setup using sasl2, but if I try and connect with cyradm, using the
right passwd, it fails to connect with a core dump:

test# cyradm --user cyrus localhost
Password:
cyradm: cannot authenticate to server with  as cyrus
Bus error (core dumped)

The error in the log file is:

Jul 24 01:42:12 test perl: All-whitespace username.
Jul 24 01:42:12 test perl: No worthy mechs found

everything looks okay, I think, in my imapd.conf file:

test# cat /usr/local/etc/imapd.conf
configdirectory: /var/spool/imap
partition-default: /var/spool/mail
admins: cyrus at test.hub.org admin at test.hub.org
duplicatesuppression: 1
sievedir: /var/spool/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: yes
sasl_pwcheck_method: auxprop
lmtpsocket: /var/run/socket/lmtp
quotawarn: 90
virtdomains: 1

and permissions on sasldb2 looks right:

test# ls -ld /usr/local/etc/sasldb2
-rw-r--r--  1 cyrus  wheel  49152 Jul 24 01:39 /usr/local/etc/sasldb2

but even a connection through imap fails:

telnet localhost imap
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK test.hub.org Cyrus IMAP4 v2.2.1-BETA server ready
. login cyrus at test.hub.org test
. NO Login failed: user not found
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.

so, what's staring me in the face that I'm not seeing? :(

thanks ...




More information about the Info-cyrus mailing list