Package: libpam-mysql
Version: 0.6.2-1
Followup-For: Bug #418500

I've been trying to use pam_mysql with freeradius
but it always fails with error "permission denied"
After some investigation and enabling the debug (verbose) option

I get this error in syslog
May 13 11:33:01 Apex freeradius: PAM unable to
dlopen(/lib/security/pam_mysql.so)
May 13 11:33:01 Apex freeradius: PAM [dlerror:
/lib/security/pam_mysql.so: undefined symbol: pam_get_item]
May 13 11:33:01 Apex freeradius: PAM adding faulty module:
/lib/security/pam_mysql.so

Its odd how lots of other programs like saslauthd and exim have no
problem with pam_mysql.

I wondered if there was a problem with freeradius but I found a test
script for pam modules here:
http://www2.opendesktop.net/modules/websvn/blame.php?repname=specs&path=%2Ftrunk%2Fpam%2Fdlopen.sh&rev=2&sc=0
It nicely shows up the problem.

Apex:/usr/local/src# ./dlopen.sh /lib/security/pam_mysql.so 
dlopen() of "/lib/security/pam_mysql.so" failed:
/lib/security/pam_mysql.so: undefined symbol: pam_get_item


I tried the latest upstream version of pam_mysql and that has even more
unsesolved symbols

I'm going to try version 0.5.x and see if that's any better.
I would try to fix this if I had any clue thats going on, unfortunatly
my c programming skills are somewhat lacking


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpam-mysql depends on:
ii  libc6                         2.5-5      GNU C Library: Shared libraries
ii  libmysqlclient15off           5.0.38-3   mysql database client library
ii  zlib1g                        1:1.2.3-13 compression library - runtime

libpam-mysql recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to