Unable to auth...

Kevin Hanna kevin at hanna.net
Wed Mar 5 21:22:59 EST 2003


I am unable to get cyrus to authenticate...

I configured cyrus with:

./configure --with-auth=unix --with-cyrus-group=mail 
--with-cyrus-group=cyrus --with-openssl=/usr/local/ssl/include/openssl/ 
--with-perl=PERL  --with-sasl=/usr/include/ 
--with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib/ 
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include/ --disable-krb4  
--disable-gssapi --disable-anon

configured sasl:
./configure --with-dbpath 
--with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib 
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include/ 
--with-dblib=berkeley --disable-krb4 --disable-gssapi

imap.conf:

   configdirectory: /var/imap
   partition-default: /var/spool/imap
   admins: kevin
   sasl_pwcheck_method: auxprop


And I can't seem to create valid users:
gandalf:/usr/sbin # ./saslpasswd -c kevin  << I've tried serveral 
permutation of this (with app, domain etc...)
Password:
Again (for verification):
gandalf:/usr/sbin # cyradm --user kevin localhost
Password:
cyradm: cannot authenticate to server with  as kevin
gandalf:/usr/sbin # ./sasldblistusers
user: kevin realm: gandalf mech: PLAIN
user: kevin realm: gandalf mech: CRAM-MD5
user: kevin realm: gandalf mech: DIGEST-MD5

from the log:

Mar  5 21:15:05 gandalf imapd[9318]: accepted connection
Mar  5 21:15:07 gandalf imapd[9318]: badlogin: localhost[127.0.0.1] 
DIGEST-MD5 [SASL(-13): user not found: no secret in database]

I've been looking at this for a while and I've gone in circles.  Any 
help would be much appreciated.

Kevin





More information about the Info-cyrus mailing list