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: http

Re: Problem with Rlm_Perl

2011-06-27 Thread Fajar A. Nugraha
On Mon, Jun 27, 2011 at 4:57 PM, marvin 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 --with-rlm_perl Did you read t

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 rlm

Re: Problem with Rlm_Perl

2011-06-27 Thread Fajar A. Nugraha
On Mon, Jun 27, 2011 at 4:44 PM, marvin 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 shared object f

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 messag

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 t

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 c

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 http://www.freeradius.o

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

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:

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, wh

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 $given_cha

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 upd

RE: Problem with rlm_perl

2010-09-03 Thread Nasser Heidari
03, 2010 18:20 > To: FreeRadius 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 situ

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 >

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 environme

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 ad

Re: Problem with rlm_perl

2009-04-07 Thread Anatoly S. Zimin
bug mode it what that time will work > normally, the truth only any. > > > > - Original Message - > From: "Anatoly S. Zimin" > To: "FreeRadius users mailing list" > Sent: Tuesday, April 07, 2009 3:45 PM > Subject: Re: Problem with rlm_perl &

Re: Problem with rlm_perl

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

Re: Problem with rlm_perl

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

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 } - authe

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 } - authe

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 /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/libperl.a

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. > >

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; > > > 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 fro

Re: Problem with rlm_perl.

2006-03-06 Thread Yevgeny
> It is: > > <*quote*> > use Data::Dumper; > > > 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.

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: # l

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 {