Re: Symbol Perl_hv_undef_flags problem using rlm_perl

2011-09-01 Thread Boian Jordanov
On Aug 30, 2011, at 12:06 PM, david.suarezde...@telefonica.es wrote: in libperl.a. I include the complete output of radiusd -X below with both Did you compile perl with support for libperl.so ? Best Regards, Boian Jordanov Head of Voice Department tel. +359 2 4004 723 tel. +359 2 4004 002

Re: Symbol Perl_hv_undef_flags problem using rlm_perl

2011-08-30 Thread John Dennis
On 08/30/2011 05:06 AM, david.suarezde...@telefonica.es wrote: Greetings, I have installed a Debian 6 stable on a 64b machine. Using the factory freeradius-2.1.10 and perl-5.10.1 I got a symbol lookup problem, which sounded weird enough... So I downloaded both last stable versions

Problem with Rlm_Perl

2011-06-27 Thread marvin
Hi, I found a solution to my problem by updating the version. But now, when i do radiusd -X, i have this error : /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory. I don't have the good directory

Re: Problem with Rlm_Perl

2011-06-27 Thread Alan DeKok
marvin wrote: I found a solution to my problem by updating the version. But now, when i do radiusd -X, i have this error : /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory. I don't have the good

Re: Problem with Rlm_Perl

2011-06-27 Thread marvin
Hi, Thanks for your answer but when i build without Don't build with --with-static-modules=perl , I have the same error. /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open shared object file: No such file or directory Marvin -- View this message

Re: Problem with Rlm_Perl

2011-06-27 Thread Fajar A. Nugraha
On Mon, Jun 27, 2011 at 4:44 PM, marvin nicolas.dup...@ovh.net wrote: Hi, Thanks for your answer but when i build without Don't build with --with-static-modules=perl , I have the same error. /usr/local/etc/raddb/modules/perl[7]: Failed to link to module 'rlm_perl': rlm_perl.so: cannot open

Re: Problem with Rlm_Perl

2011-06-27 Thread marvin
So, I use the last distrib 2.1.11 and no, i haven't this file (rlm_perl.so). I have tried different compilation like these : ./configure --with-static-modules=perl ./configure --with-rlm_perl=yes ./configure --with-rlm_perl Without success, I have only : rlm_perl-2.1.11.la

Re: Problem with Rlm_Perl

2011-06-27 Thread Fajar A. Nugraha
On Mon, Jun 27, 2011 at 4:57 PM, marvin nicolas.dup...@ovh.net wrote: So, I use the last distrib 2.1.11 and no, i haven't this file (rlm_perl.so). I have tried different compilation like these : ./configure --with-static-modules=perl ./configure --with-rlm_perl=yes ./configure

Re: Problem with Rlm_Perl

2011-06-27 Thread marvin
Thanks for your help. When i compiled for the 1rst time i don't have the require librairies but after install it and recompile my module rlm_perl wasn't installed. I go back to the previous version of Freeswitch (the 2.1.10) and all work now. Thanks Again. -- View this message in context:

Re: Problem with Rlm_Perl and Digest-Attributes Translation

2011-06-23 Thread marvin
subscribe done -- View this message in context: http://freeradius.1045715.n5.nabble.com/Problem-with-Rlm-Perl-and-Digest-Attributes-Translation-tp4517972p4517990.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See

Re: problem with rlm_perl

2010-11-24 Thread Alan DeKok
sameer khan wrote: thanks for reply. i edited the dictionary to add an attribute for mikrotik. i will be help if you can explain a little further. The default dictionaries work. You are having issues because you are not using the default dictionaries. That's how complex the explanation

problem with rlm_perl

2010-11-23 Thread sameer khan
hey ppl i m trying to authenticate with rlm_perl using chap with following perl script but doesn't seem to work. i m guessing chap-password should be in hex (0x) format but doesn't seem to be in. hope some one can help me out Best Regards my $want_password=123;my $given_password;my

Re: problem with rlm_perl

2010-11-23 Thread Alan DeKok
sameer khan wrote: i m trying to authenticate with rlm_perl using chap with following perl script but doesn't seem to work. i m guessing chap-password should be in hex (0x) format but doesn't seem to be in. hope some one can help me out The CHAP-Password attribute is opaque binary data,

RE: problem with rlm_perl

2010-11-23 Thread sameer khan
Hey thanks for reply. i edited the dictionary to add an attribute for mikrotik. i will be help if you can explain a little further. thanks again Date: Tue, 23 Nov 2010 22:55:11 +0100 From: al...@deployingradius.com To: freeradius-users@lists.freeradius.org Subject: Re: problem

Re: Problem with rlm_perl

2010-09-07 Thread Alan DeKok
Nasser Heidari wrote: I've done it in test environment , problem is that same configuration is not working in heavy load. If NAS does not send MAC address , I update request with a .. mac , but in production environment, users who does not have mac address , RADIUS request updates

Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
Dear Folks, I'm using a perl module to record and save clients MAC address to DB. In situations that cisco-av-pair is not included in RADIUS packet, I'm replacing it with ... Everything is working just fine in test environment but when running on production servers the recorded MAC

Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
Dear Folks, Apologies for previous unwanted / half complete email, We are using a perl module to record and save clients MAC address to DB. In situations that cisco-av-pair is not included in RADIUS packet, We are replacing it with ... Everything is working just fine in test

Re: Problem with rlm_perl

2010-09-03 Thread Alan DeKok
Nasser Heidari wrote: I wanted to capture users mac address, so I've added a perl module , and after parsing cisco-av-pair attribute , I save it to DB. In normal situation everything works like a charm , but in some cases, If NAS doesn't send mac-address attribute, I expect to save a

RE: Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
users mailing list Subject: Re: Problem with rlm_perl Nasser Heidari wrote: I wanted to capture users mac address, so I've added a perl module , and after parsing cisco-av-pair attribute , I save it to DB. In normal situation everything works like a charm , but in some cases, If NAS

Tagged attributes problem and rlm_perl in FreeRADIUS 2.1.4

2009-04-16 Thread Alexandr Kovalenko
Hello! I've already asked about the very same problem with tagged attributes and rlm_perl in FreeRADIUS 1.1.7, and Ivan Kalik t...@kalik.net told me that he tested it on 2.1.4, so I've upgraded to new version: FreeRADIUS Version 2.1.4, for host i386-portbld-freebsd7.1, built on Apr 16 2009 at

Re: Tagged attributes problem and rlm_perl in FreeRADIUS 2.1.4

2009-04-16 Thread Alexandr Kovalenko
Another one log file with $RAD_REPLY{'ERX-Service-Activate:2'} = deny; uncommented attached (crash was not related to freeradius initially). On Thu, Apr 16, 2009 at 12:31 PM, Alexandr Kovalenko alexandr.kovale...@gmail.com wrote: Hello! I've already asked about the very same problem with

Re: Tagged attributes problem and rlm_perl in FreeRADIUS 2.1.4

2009-04-16 Thread Alexandr Kovalenko
On Thu, Apr 16, 2009 at 1:34 PM, Alan DeKok al...@deployingradius.com wrote: Alexandr Kovalenko wrote: I've already asked about the very same problem with tagged attributes and rlm_perl in FreeRADIUS 1.1.7, and Ivan Kalik t...@kalik.net told me that he tested it on 2.1.4, so I've upgraded to

Re: Tagged attributes problem and rlm_perl in FreeRADIUS 2.1.4

2009-04-16 Thread Alan DeKok
Alexandr Kovalenko wrote: I've already asked about the very same problem with tagged attributes and rlm_perl in FreeRADIUS 1.1.7, and Ivan Kalik t...@kalik.net told me that he tested it on 2.1.4, so I've upgraded to new version: It doesn't support tagged attributes, either. The source code

Re: Tagged attributes problem and rlm_perl in FreeRADIUS 2.1.4

2009-04-16 Thread Alan DeKok
Alexandr Kovalenko wrote: Then I have few questions: 1. How could this be that it worked in 1.1.7 (but only 1st auth attempt, all further didn't, until restart)? shrug Look at the code. I don't want to debug it. 2. Is there any work-in-progress project on adding support for tagged

Problem with rlm_perl

2009-04-07 Thread Волошин Вячеслав
Hello. Config: perl auth_perl_pppoe { module = /var/www/radius/radius_auth.pl func_accounting = accounting } perl acc_perl_pppoe { module = /var/www/radius/radius_accounting.pl func_authenticate = authenticate } -

Re: Problem with rlm_perl

2009-04-07 Thread Anatoly S. Zimin
Привет! На самом деле, весьма _неудобно_ искать проблемы просто по дебагу + конфиг. Уж лучше описать её хоть на ломаном англ. Это так отступление... А вообще, у rlm_perl весьма много глюков. Например при работе с разными модулями, типа IO::Socket::. Попробуйте все засунуть в один скрипт.

Re: Problem with rlm_perl

2009-04-07 Thread Волошин Вячеслав
. - Original Message - From: Anatoly S. Zimin anato...@team.co.ru To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Tuesday, April 07, 2009 3:45 PM Subject: Re: Problem with rlm_perl Привет! На самом деле, весьма _неудобно_ искать проблемы просто по дебагу + конфиг. Уж

Re: Problem with rlm_perl

2009-04-07 Thread Anatoly S. Zimin
, the truth only any. - Original Message - From: Anatoly S. Zimin anato...@team.co.ru To: FreeRadius users mailing list freeradius-users@lists.freeradius.org Sent: Tuesday, April 07, 2009 3:45 PM Subject: Re: Problem with rlm_perl Привет! На самом деле, весьма _неудобно_ искать

Problem with rlm_perl

2009-04-07 Thread Волошин Вячеслав
Hello. Config: perl auth_perl_pppoe { module = /var/www/radius/radius_auth.pl func_accounting = accounting } perl acc_perl_pppoe { module = /var/www/radius/radius_accounting.pl func_authenticate = authenticate } -

Problem with rlm_perl module

2008-01-14 Thread serelk
Hello All I have spent few days trying to build freeradius with rlm_perl module on Solaris 10. Using both last versio 2.0.0 and 1.1.7 I'm getting vary similar problem. Does anybody get it running ? recvfrom0x4814

Re: Problem with rlm_perl

2006-07-12 Thread Boian Jordanov
Hi please use mailing list instead of writing to me directly. Regarding the trouble try reinstalling the Data::Dumper module and check that it is linked with correct perl library. On Wednesday 12 July 2006 03:09, you wrote: Hello! I have a problem with rlm_perl. My Linux box is Debian

Re: Problem with rlm_perl.

2006-03-08 Thread Boian Jordanov
On Monday 06 March 2006 15:24, Nikos Diamantis wrote: [EMAIL PROTECTED] wrote: It is: *quote* use Data::Dumper; /*quote* in example.pl that causes the trouble. It seems you don't have a Data::Dumper module. Running your script with perl example.pl can show this. Quote from:

Re: Problem with rlm_perl.

2006-03-06 Thread Nikos Diamantis
[EMAIL PROTECTED] wrote: rlm_perl: perl_parse failed: /etc/freeradius/example.pl not found or has syntax errors. radiusd.conf[211]: test_module: Module instantiation failed. radiusd.conf[245] Unknown module test_module. radiusd.conf[242] Failed to parse accounting section. The file exists: # ls

Re: Problem with rlm_perl.

2006-03-06 Thread Yevgeny
It is: *quote* use Data::Dumper; /*quote* in example.pl that causes the trouble. Many thanks. I commented this string out and freeradius is running. I wonder if this library inclusion could be automated at the configure stage... In my case, it happened automatically by itself. An

Problem with rlm_perl.

2006-03-05 Thread wazn
Hi. I use freeradius 1.1.0 on Debian 3.1 stable. freeradius is compiled to deb-package by the command dpkg-buildpackage -rfakeroot -uc -b and installed by dpkg -i. I tried to use test perl module 'example.pl'. Here is part of my radiusd.conf: ... modules { ... perl test_module {