Chris Petersen writes:

Sam Varshavchik wrote:
Chris Petersen writes:


I'm also occasionally getting this error from authlib when I log in
without TLS/SSL:

authdaemond: Deprecated pam_stack module called from service "imap"

You need to install updated pam configuration files. This should be
installed automatically by prebuildtpackages. If you're building courier
manually, yourself, you'll find imapd.authpam and pop3d.authpam files in
the imap subdirectory. Use them to replace your existing imap and pop3
pam configuration files in /etc/pam.d.

The rpms that build from the tarballs seem to install the imapd.pam
file, not the imapd.authpam one.  The old file worked until recently (I
verified its contents via a recent backup), and the only part of pam
that's been upgraded recently was krb5 stuff (I'm not using kerberos
anywhere, and ended up just deleting that package altogether).

imapd.authpam is copied from imapd.pam, but I misspoke, it should've been copied from one of the other two pam templates. The relevant code is:

rm -f imapd.pam pop3d.pam

cp -f $srcdir/imapd.authpam imapd.pam
cp -f $srcdir/pop3d.authpam pop3d.pam

if test -f /etc/pam.d/system-auth
then
       if ls /lib*/security/pam_stack.so 2>/dev/null >/dev/null
       then
               cp -f $srcdir/system-auth.authpam imapd.pam
               cp -f $srcdir/system-auth.authpam pop3d.pam
       else
               cp -f $srcdir/system-auth2.authpam imapd.pam
               cp -f $srcdir/system-auth2.authpam pop3d.pam
       fi
fi

I copied imapd.authpam over to /etc/pam.d/imap, fixed things so that it
points to pam_unix.so (which is correct for this system), and tried
variations of /lib64/ and no pathname (which seems to be what the other
config files do).  I also tried copying settings over from existing
files (e.g. "ppp"), with no luck.

imapd.authpam is for some fairly old versions of PAM. You should've had one of the newer versions of PAM config files installed.


Attachment: pgp0zeGZOmZUK.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to