Package: freeradius
Version: 1.1.3-3
Severity: important

Hi,

I am trying to get freeradius to do some post-auth stuff with an
external perl script I wrote. This script uses LWP::Simple to check if
the User is allowed access or denied.

Also using Data::Dumper raises the same problem:

moria:~# freeradius -X
[...]
Module: Loaded perl 
 perl: module = "/etc/freeradius/dtcheck.pm"
 perl: func_authorize = "authorize"
 perl: func_authenticate = "authenticate"
 perl: func_accounting = "accounting"
 perl: func_preacct = "preacct"
 perl: func_checksimul = "checksimul"
 perl: func_detach = "detach"
 perl: func_xlat = "xlat"
 perl: func_pre_proxy = "pre_proxy"
 perl: func_post_proxy = "post_proxy"
 perl: func_post_auth = "post_auth"
 perl: perl_flags = "(null)"
 perl: func_start_accounting = "(null)"
 perl: func_stop_accounting = "(null)"
Can't load '/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so' for module 
Data::Dumper: /usr/lib/perl/5.8/auto/
Data/Dumper/Dumper.so: undefined symbol: Perl_sv_cmp at 
/usr/lib/perl/5.8/XSLoader.pm line 70.
 at /usr/lib/perl/5.8/Data/Dumper.pm line 36
Compilation failed in require at /etc/freeradius/dtcheck.pm line 6.
BEGIN failed--compilation aborted at /etc/freeradius/dtcheck.pm line 6.
rlm_perl: perl_parse failed: /etc/freeradius/dtcheck.pm not found or has syntax 
errors.  
radiusd.conf[1719]: dtcheck: Module instantiation failed. 
radiusd.conf[2133] Unknown module "dtcheck".
radiusd.conf[2093] Failed to parse post-auth section. 

The Problem seems to be, that /usr/lib/freeradius/rlm_perl.so is linked
against /usr/lib/libperl.so.5.8 but perl uses another libperl:

perl -V | grep libperl:
libperl=libperl.so.5.8.8

When I start freeradius with
LD_PRELOAD=/usr/lib/libperl.so.5.8.8 freeradius -X 
it starts and works.

Could you please check this issue. Searching the web it seems that this
has been a Problem in Sarge as well.

thanks
Philipp

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages freeradius depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgdbm3                    1.8.3-3      GNU dbm database routines (runtime
ii  libltdl3                    1.5.22-4     A system independent dlopen wrappe
ii  libpam0g                    0.79-4       Pluggable Authentication Modules l
ii  libperl5.8                  5.8.8-7      Shared Perl library
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip

freeradius 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