When trying to configure Courier IMAP with PAM, the courier-authlib fails to work: authdaemond: /usr/lib/courier-authlib/libauthpam.so.0: undefined symbol: nscd_flush_cache Reemerging either pam or courier-authlib doesnt help. Courier IMAP is not working with PAM! Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: authdaemond: /usr/lib/courier-authlib/libauthpam.so.0: undefined symbol: nscd_flush_cache
Version 0.55 works fine. I recommend: # echo ">=net-libs/courier-authlib-0.57" > /etc/portage/package.mask # emerge courier-authlib Please mask the package until fix.
I'm currently using courier-imap configured using PAM, with courier-authlib-0.57-r1, no problem at all. That symbol seems related to glibc more than PAM. Can you paste your emerge info?
zapletalovi ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.5-gentoo-r1 i686) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3-r1 [2.3.3 (#2, Aug 22 2004, 00:52:41)] dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r4, 1.5.16 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.math.bme.hu ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://212.219.247.21/sites/www.ibiblio.org/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm bash-completion berkdb cdb clamd crypt cups curl cyrus foomaticdb gd gdbm gif gzip imagemagick imap imlib innodb java jikes jpeg junit jython libg++ libwww maildir mmx mysql ncurses nls oav pam perl png python readline samba sasl sqlite sse ssl tcpd tiff xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I have used 0.55 and no problems. I checked it on the internet - its a bug in this release (or "feature"). The problem can be, you didnt recompile the courier. Try this: install 0.57-r1 (or check you have this version), now reemerge courier-authlib. Working?
I'm tempted to say this is not pam fault, but more likely to be a broken build system in courier-authlib.
Can anyone tell me if this bug persists in 0.57-r2?
Created attachment 97192 [details, diff] Please ignore - posted to wrong bug Can be used to patch /etc/init.d/courier-authlib or /usr/portage/net-libs/courier-authlib/files/courier-authlib-initd
Comment on attachment 97192 [details, diff] Please ignore - posted to wrong bug Please ignore - posted to wrong bug
in reply to comment #6 I have courier-authlib-0.58 here and it works like a charm.
lzap: is this fixed for you in 0.58?
Is this still an issue with courier-authlib-0.59.1?
(In reply to comment #11) > Is this still an issue with courier-authlib-0.59.1? FWIW, never been able to reproduce this w/ 0.57 or any later version. No idea.
Get back to us...