how to *not* use PAM, but sasldb2 on fedora core 5 (coming from BSD)

Timo Schoeler timo.schoeler at riscworks.net
Fri Mar 31 14:25:27 EST 2006


thus Ken Jones spake:
> Check in the file: /etc/imapd.conf
> 
> sasl_pwcheck_method: saslauthd sasl_pwcheck_method: auxprop
> 
> sasl_auxprop_plugin: sasldb
> 
> sasl_auto_transition: no

hi ken,

thanks for your reply.

in the meanwhile i try gentoo, as other distributions don't give me the 
freedom i used to experience (compared to xBSD ;).

however, it still does not work.

i made sure that i have the appropriate plugin(s) installed (hm, 
'emerge' only has one for DIGEST, CRAM is missing) and the permissions 
of sasldb2 are okay.

still i get:

Mar 31 20:20:02 www imap[22824]: accepted connection
Mar 31 20:20:02 www imap[22824]: DIGEST-MD5 server step 1
Mar 31 20:20:02 www perl: DIGEST-MD5 client step 2

when trying to login via 'cyradm -u cyrus localhost'...

timo

> On Tue, March 28, 2006 10:10, Timo Schoeler wrote:
>> hi list,
>> 
>> i'm in the not-so-lucky (at least for me ;) situation to set up a
>> FC5 imap server.
>> 
>> it wants to use PAM, which runs fine for me on NetBSD 3.0 e.g., but
>> this linux box won't do it:
>> 
>> Mar 28 11:58:48 www perl: No worthy mechs found Mar 28 11:58:52 www
>> saslauthd[3238]: do_auth         : auth failure: [user=cyrus]
>> [service=imap] [realm=localdomain] [mech=pam] [reason=PAM auth
>> error
>> 
>> (this is while trying 'cyradm -u cyrus localhost')
>> 
>> 
>> the mechs are installed:
>> 
>> cyrus-sasl.i386                         2.1.21-10
>> cyrus-sasl-lib.i386			2.1.21-10 cyrus-sasl-md5.i386
>> 2.1.21-10 cyrus-sasl-plain.i386			2.1.21-10 cyrus-sasl-devel.i386
>> 2.1.21-10 cyrus-sasl-gssapi.i386 			2.1.21-10 cyrus-sasl-ldap.i386 
>> 2.1.21-10 cyrus-sasl-ntlm.i386 			2.1.21-10 cyrus-sasl-sql.i386
>> 2.1.21-10
>> 
>> so, has anyone running this setup (FC5, postfix, cyrus, managing
>> mail users via saslpasswd & friends) running, and if so, how does 
>> one get there?



More information about the Info-cyrus mailing list