cyrus 22 on Freebsd permission denied

Craig White craigwhite at azapple.com
Mon Sep 5 09:41:10 EDT 2005


On Sun, 2005-09-04 at 23:09 -0600, luck at computerking.ca wrote:
> I have done all u suggested but still having problems
> %cyradm localhost
> IMAP Password:
>               Login failed: user not found at
> /usr/local/lib/perl5/site_perl/5.8.6/mach/Cyrus/IMAP/Admin.pm line 118
> cyradm: cannot authenticate to server with  as cyrus
> 
> this is found in the auth.log file
> Sep  4 17:57:49 tokyo perl: No worthy mechs found
> Sep  4 17:57:55 tokyo imap[87817]: Could not open db
> Sep  4 17:57:55 tokyo imap[87817]: Could not open db
> Sep  4 17:57:55 tokyo imap[87817]: badlogin: localhost.computerking.ca 
> [::1] plaintext cyrus SASL(-13): user not found: checkpass failed
> 
> 
> here are some of my conf I have remove some of the mechs read somewhere 
> that it might help created cyrus.conf and Cyrus.conf the are both the 
> same not sure which one  i need
> 
> tokyo.computerking.ca > /usr/local/lib/sasl2 #l
> total 110
> -rw-r--r--  1 root  wheel     64 Sep  4 17:46 Cyrus.conf
> -rw-r--r--  1 root  wheel     26 Feb 17  2005 Sendmail.conf
> -rw-r--r--  1 root  wheel     64 Sep  4 17:11 cyrus.conf
> -rw-r--r--  1 root  wheel  12538 Feb 17  2005 liblogin.a
> lrwxr-xr-x  1 root  wheel     13 Feb 17  2005 liblogin.so -> liblogin.so.2
> -rwxr-xr-x  1 root  wheel  15346 Feb 17  2005 liblogin.so.2
> -rw-r--r--  1 root  wheel  12518 Feb 17  2005 libplain.a
> lrwxr-xr-x  1 root  wheel     13 Feb 17  2005 libplain.so -> libplain.so.2
> -rwxr-xr-x  1 root  wheel  15244 Feb 17  2005 libplain.so.2
> -rw-r--r--  1 root  wheel  18616 Feb 17  2005 libsasldb.a
> lrwxr-xr-x  1 root  wheel     14 Feb 17  2005 libsasldb.so ->
> libsasldb.so.2 -rwxr-xr-x  1 root  wheel  19867 Feb 17  2005
> libsasldb.so.2
> drwxr-xr-x  2 root  wheel    512 Sep  4 17:56 removed
> -rw-r--r--  1 root  wheel    181 Aug 18  2004 smtpd.conf
> 
> cyrus.conf and Cyrus.conf
> pwcheck_method: auxprop
> sasldb_path: /usr/local/etc/sasldb2.db
> 
> sendmail.conf is this even being used i use postfix
> pwcheck_method: saslauthd
> 
> smtp.conf this was working with my postfix bincIMAP combo hope it still 
> does should i be using auxprop here too or will that break postfix and 
> bincIMAP
> 
> # This sets smtpd to authenticate using the saslauthd daemon.
> pwcheck_method: saslauthd
> # This allows only plain and login as the authentication mechanisms.
> mech_list: plain login
----
su - cyrus -c '/path/to/cyradm localhost'

or

/path/to/cyradm -u cyrus localhost

Craig




More information about the Info-cyrus mailing list