Problem in authenticating via sasldb2
Luca Manganelli
manganelli at ksolutions.it
Fri Mar 12 05:59:22 EST 2004
I've read all docs and your emails, but I am still not able to
authenticate via sasldb2 file.
I configured Cyrus in this way:
---------------------------------------------------
[root at ksmail-test cyrus-imapd]# cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus ksmail
lmtp_admins: cyrus ksmail
allowanonymouslogin: yes
allowplaintext: yes
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
servername: kmailcert.it
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_mech_list: plain login
---------------------------------------------------
and I added a cyrus user:
--------------------------------------------------------------
[root at ksmail-test cyrus-imapd]# /usr/sbin/saslauthd -v
saslauthd 2.1.17
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
[root at ksmail-test etc]# /usr/sbin/saslpasswd2 -c -u cyrus localhost
Password:
Again (for verification):
[root at ksmail-test etc]# strings sasldb2
md5 0499 ks5010 1c3d9a702b79ad9f 00000000000000000000
localhost
cyrus
cmusaslsecretOTP
cyrus
localhost
cyrus
userPassword
---------------------------------------------------------------------
I tried to connect via cyrusadm:
---------------------------------------------------------------------
[root at ksmail-test cyrus-imapd]# ./cyradm --user cyrus localhost
IMAP Password:
at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 118
cyradm: cannot authenticate to server with as cyrus
---------------------------------------------------------------------
the logs:
---------------------------------------------------------------------
[root at ksmail-test cyrus-imapd]# tail /var/log/auth.log
Mar 12 11:57:48 ksmail-test perl: No worthy mechs found
---------------------------------------------------------------------
any idea how to figure out of this?
Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.618 / Virus Database: 397 - Release Date: 09/03/2004
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list