SASL2 will authenticate via pam if you use saslauthd

(from memory, might not be entirely correct)

./configure --with-saslauthd --with-pam

Then run saslauthd with the -a pam arg (check saslauthd.8)

And use pwcheck_method=saslauthd

Tim
----- Original Message ----- 
From: "Luc de Louw" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 12:47 PM
Subject: Problem to authenticate unsing PAM


> Hi
> 
> I'm trying to build cyrus-imap 2.1.3 from source.
> 
> First compiled sasl-2.1.2
> 
> ./configure --enable-plain --with-pam --disable-krb4 --enable-login
> 
> made a symlink /usr/local/lib/sasl2/ -> /usr/lib/sasl2/
> 
> configured cyrus-imap
> 
> ./configure --with-dbdir=/usr/local/BerkeleyDB.4.0 --with-auth=unix
> 
> make, created dirs etc.
> 
> in imapd.conf like from 2.0.16:
> sasl_pwcheck_method: pam
> 
> /var/log/auth.log shows:
> Apr 26 20:19:16 bond imapd[7118]: unknown password verifier pam
> 
> someting strange is, the 2.0.16 binary from suse is linked to pam:
> ldd /usr/cyrus/bin/imapd|grep pam
>          libpam.so.0 => /lib/libpam.so.0 (0x40302000)
> 
> But not the binary from source (2.1.3)
> 
> There is no configure option, so does cyrus-imap 2.1.3 not support pam 
> anymore?
> Or what I made wrong? The goal is to authenticate users with PAM, and 
> here I got stuck
> 
> thanks for any hints or some links to docs
> 
> rgds
> 
> Luc
> 
> 
> 
> 
> 

Reply via email to