Package: libpam-openafs-session
Version: 1.0-7
Hi! I've encountered a problem while using the Courier authdaemond for imap
login authentications via pam. The authdaemond shows an error but nevertheless
pam_openafs_session.so is loaded and functional:
--- /var/log/syslog
Mar 11 13:05:54 mail authdaemond: PAM unable to
dlopen(/lib/security/pam_openafs_session.so)
Mar 11 13:05:54 mail authdaemond: PAM [dlerror:
/lib/security/pam_openafs_session.so: undefined symbol: pam_set_data]
Mar 11 13:05:54 mail authdaemond: PAM adding faulty module:
/lib/security/pam_openafs_session.so
ldd returns undefined symbols:
# ldd -r /lib/security/pam_openafs_session.so
undefined symbol: pam_set_data (/lib/security/pam_openafs_session.so)
undefined symbol: pam_getenv (/lib/security/pam_openafs_session.so)
undefined symbol: pam_get_data (/lib/security/pam_openafs_session.so)
undefined symbol: pam_get_user (/lib/security/pam_openafs_session.so)
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e83000)
/lib/ld-linux.so.2 (0x80000000)
Compiling pam_openafs_session.so with modified options eliminates the undefined
symbols problem (by activating the already existing option: OSLIBS = -lpam
-lresolv):
# diff Makefile.orig Makefile
36c36
< $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
---
> $(CC) -o $@ $(LDFLAGS) $(OSLIBS) $(OBJS) $(LIBS)
I can reproduce this behavior on any of my Etch installations. Other
authentications against pam with pam_openafs_session.so are working, e.g. ssh
or smtp.
The error only appears with the Courier authdaemond.
Kind Regards,
Gunar Krull
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libpam-openafs-session depends on:
ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii libpam-krb5 2.6-1 PAM module for MIT Kerberos
ii openafs-client 1.4.2-6etch1 AFS distributed filesystem client
ii openafs-krb5 1.4.2-6etch1 AFS distributed filesystem Kerbero
libpam-openafs-session recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]