Unable to auth...
Kevin Hanna
kevin at hanna.net
Thu Mar 6 12:56:45 EST 2003
hehe, yup I have an older version of sasl installed.
But now the question is... Why don't I have sasl 2 files installed?
I have the cyrus-sasl-2.1.12.
I did the configure (below)
make
make install
(created symbolic like for the library).
But saslpasswd2 and sasldblistuse binaries are nowhere to be found.
Kevin Williams wrote:
>Kevin Hanna,
>
>Having just installed cyrus myself, I got a similar error. It was one
>of two things for me. I forgot to create the users and their passwords
>in the sasldb2 file (check to see if /etc/sasldb2 exists), OR I forgot
>to change the owner of this file from root to cyrus.
>
>It looks like you're setting up users for the old version of Sasl 1.x.
>If you're actually using a 2.x version, you must use the version 2
>commands--saslpasswd2, etc... This creates the sasldb2 file instead of
>the sasldb file.
>
>I'd also double check to make sure the sasldb2 file is owned by cyrus.
>
>Hope this helps,
>
>Kevin Williams
>
>On Wed, 2003-03-05 at 18:22, Kevin Hanna wrote:
>
>
>>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