RE: rlm_perl

2005-09-28 Thread Abdul Lateef
2005 : rlm_perl: rlm_perl::Detaching. Reloading. Done. Wed Sep 28 07:50:45 2005 : Info: detach at 0x93af7a0 returned status 0 Wed Sep 28 07:50:45 2005 : Info: Detach perl 0x94b0ec8 Wed Sep 28 07:50:45 2005 : rlm_perl: rlm_perl::Detaching. Reloading. Done. Wed Sep 28 07:50:45 2005 : Info: detach

rlm_perl

2005-09-28 Thread ricklim
Could someone show me how to process an access-accept via rlm_perl? The example in the script example.pl still causes an access-reject nomater what I try. Thanks. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_perl

2005-09-28 Thread Dusty Doris
Could someone show me how to process an access-accept via rlm_perl? The example in the script example.pl still causes an access-reject nomater what I try. That isn't enough information, except to tell you to return a proper value such as RLM_MODULE_OK. Please post debug output

rlm_perl access-reject noobie question !!!

2005-09-25 Thread ricklim
Hi there, I have been trying to understand the rlm_perl example script example.pl. I have is setup that it returns RLM_MODULE_OK for anything, yet the nas client (NTRadPing) always sees Access-Reject. My understanding of how freeradius works is limited. Could someone point me in the right

Re: rlm_perl access-reject noobie question !!!

2005-09-25 Thread Alan DeKok
[EMAIL PROTECTED] wrote: Could someone point me in the right direction on how to get a rlm_perl script to send a Access-Accept message back to the client or cause an Acess-Accept message to be sent back to the client. Run the server in debugging mode, as suggested in the README, INSTALL

rlm_perl / rlm_python

2005-09-09 Thread ricklim
Hi there, Could someone tell me what versions of freeradius have rlm_perl? I have a fedora box with freeradius 1.0.1 installed, I have downloaded the 1.0.4 version and it has references to rlm_perl in it. Do I have to install the 1.0.4 version to get rlm_perl? A very subjective question here

Re: rlm_perl / rlm_python

2005-09-09 Thread Thor Spruyt
[EMAIL PROTECTED] wrote: Hi there, Could someone tell me what versions of freeradius have rlm_perl? All latest version have it. But it's unstable and therefore you have to compile from source using --with-experimental-modules Do I have to install the 1.0.4 version to get rlm_perl

RE: rlm_perl / rlm_python

2005-09-09 Thread Jonathan De Graeve
I think there's a bug in the latest perl versions. When you are running Debian 3.1 (perl 5.8.4) and want experimental package you may want to link libperl.so into freeradius, if you don't you get an error when you start the freeradius server with rlm_perl enabled Like: /usr/sbin/freeradius

Re: rlm_perl / rlm_python

2005-09-09 Thread ricklim
Quoting Thor Spruyt [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Hi there, Could someone tell me what versions of freeradius have rlm_perl? All latest version have it. But it's unstable and therefore you have to compile from source using --with-experimental-modules Do I have

Re: rlm_perl support for pre/post-proxy in next release?

2005-09-02 Thread Boian Jordanov
On Fri, Sep 02, 2005 at 01:16:31AM +0200, Thor Spruyt wrote: I'm wondering if rlm_perl will support pre/post-proxy functions in the next release? This is allready in CVS. You can checkout release 1.19 of rlm_perl and use it with freeradius 1.0.4 -- Best Regards, Boian Jordanov SNE Orbitel

Re: rlm_perl support for pre/post-proxy in next release?

2005-09-02 Thread Thor Spruyt
Boian Jordanov wrote: On Fri, Sep 02, 2005 at 01:16:31AM +0200, Thor Spruyt wrote: I'm wondering if rlm_perl will support pre/post-proxy functions in the next release? This is allready in CVS. You can checkout release 1.19 of rlm_perl and use it with freeradius 1.0.4 Sure

Re: rlm_perl support for pre/post-proxy in next release?

2005-09-02 Thread Alan DeKok
Thor Spruyt [EMAIL PROTECTED] wrote: This is allready in CVS. You can checkout release 1.19 of rlm_perl and use it with freeradius 1.0.4 Sure, but will it be in the next official release? I'll take a look at it. Alan DeKok. - List info/subscribe/unsubscribe? See http

rlm_perl support for pre/post-proxy in next release?

2005-09-01 Thread Thor Spruyt
Hi, I'm wondering if rlm_perl will support pre/post-proxy functions in the next release? Also, is there any chance to get bug 275 into next release? http://bugs.freeradius.org/show_bug.cgi?id=275 Or does it have to be discussed further on the list? -- Groeten, Regards, Salutations, Thor Spruyt

Re: Freeradius 1.0.4 (rlm_perl enabled) and Debian 3.1 (stable - Sarge) (solution)

2005-08-29 Thread Roman Medina-Heigl Hernandez
Roman Medina-Heigl Hernandez wrote: One of the simmilar threads I've found is: http://lists.cistron.nl/pipermail/freeradius-users/2005-April/042978.html But I don't see the solution there. So I wrote privately to Emil Wilmanski. He kindly provided me with the following workaround/response:

Freeradius 1.0.4 (rlm_perl enabled) and Debian 3.1 (stable - Sarge)

2005-08-24 Thread Roman Medina-Heigl Hernandez
Hi, I'm trying to get FR 1.0.4 to work with new Debian stable distro (3.1). I need rlm_perl so I run ./configure with --with-experimental-modules and compiled it from source (latest .tgz downloaded from freeradius.org): # tar zxvf freeradius-1.0.4.tar.gz # chown -R root. freeradius-1.0.4 # cd

Re: Freeradius 1.0.4 (rlm_perl enabled) and Debian 3.1 (stable - Sarge)

2005-08-24 Thread Roman Medina-Heigl Hernandez
FR 1.0.4 to work with new Debian stable distro (3.1). I need rlm_perl so I run ./configure with --with-experimental-modules and compiled it from source (latest .tgz downloaded from freeradius.org): # tar zxvf freeradius-1.0.4.tar.gz # chown -R root. freeradius-1.0.4 # cd freeradius-1.0.4

rlm_perl and perl modules

2005-04-23 Thread Emil Wilmanski
Hi, I'm still fighting with rlm_perl module. I try CVS version and still I have the same problem to use Perl libs. But now I try compile freeradius on Debian with --with-threads=no And I still have problem to use libs but now I don't have relocation error but Naruszenie ochrony pamici (memory

Re: rlm_perl and perl modules

2005-04-21 Thread Boian Jordanov
1150824 2005-03-08 11:15 libperl.so.5.8.4 Check against which libperl is linked rlm_perl from your next mail i see that rlm_perl is linked against libperl.so.5.8 So infact you are using different libs and that's why you have a rellocation problems. Maybe you have more that one perl on your

Re: rlm_perl and perl modules

2005-04-21 Thread Emil Wilmanski
(0xb7e8f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000) Is the same. from your next mail i see that rlm_perl is linked against libperl.so.5.8 So infact you are using different libs and that's why you have a rellocation problems. Maybe you have more that one perl on your system ? Hmmm

Re: rlm_perl and perl modules

2005-04-20 Thread Boian Jordanov
other flags. I just use dpkg-buildpackage. Any idea? Maybe wrong path to libs? (how to set it?) Check output of perl -V, see if it does include useshrplib=true? and libperl=libperl.so. Check output of perl -MExtUtils::Embed -e ccopts -e ldopts Check against which libperl is linked rlm_perl

Re: rlm_perl and perl modules

2005-04-20 Thread Emil Wilmanski
libperl.so.5.8 - libperl.so.5.8.4 -rw-r--r-- 1 root root 1150824 2005-03-08 11:15 libperl.so.5.8.4 Check against which libperl is linked rlm_perl Hmmm. how to test it?? -- EW - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: rlm_perl and perl modules

2005-04-20 Thread Emil Wilmanski
Check against which libperl is linked rlm_perl ldd rlm_perl-1.0.2.so libperl.so.5.8 = /usr/lib/libperl.so.5.8 (0xb7ec3000) libdl.so.2 = /lib/tls/i686/cmov/libdl.so.2 (0xb7ebf000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7e9d000) libc.so.6 = /lib/tls

rlm_perl and perl modules

2005-04-19 Thread Emil Wilmanski
Hi, Can I use any perl modules in rlm_perl script? I try to use DBI and I get freeradius: relocation error: /usr/lib/perl5/auto/DBI/DBI.so: undefined symbol: Perl_Gthr_key_ptr I try to use Socket and I get freeradius: relocation error: /usr/lib/perl/5.8/auto/Socket/Socket.so: undefined symbol

Re: rlm_perl and perl modules

2005-04-19 Thread Emil Wilmanski
Dnia 19-04-2005, wto o godzinie 11:03 +0200, Emil Wilmanski napisa(a): Can I use any perl modules in rlm_perl script? I don't know what the problem is... noone of perl modules dos work... Can't load '/usr/local/lib/perl/5.8.4/auto/Data/Dumper/Dumper.so' for module Data::Dumper: /usr/local/lib

Re: rlm_perl and perl modules

2005-04-19 Thread Thor Spruyt
Emil Wilmanski wrote: Can I use any perl modules in rlm_perl script? I try to use DBI and I get I don't know about any, must normally they *should* work. For example, I use the following: use strict; use DBI; Write a normal perl script that uses the module's functions and see if that works

Re: rlm_perl and perl modules

2005-04-19 Thread Jakub Wartak
On Tuesday 19 April 2005 11:03, Emil Wilmanski wrote: Hi, Can I use any perl modules in rlm_perl script? Yes, you can. I try to use DBI and I get freeradius: relocation error: /usr/lib/perl5/auto/DBI/DBI.so: undefined symbol: Perl_Gthr_key_ptr I try to use Socket and I get freeradius

Re: rlm_perl and perl modules

2005-04-19 Thread Emil Wilmanski
I don't know about any, must normally they *should* work. For example, I use the following: use strict; use DBI; Hmmm... I need DBI to work :) Write a normal perl script that uses the module's functions and see if that works. All of normal scripts work perfect with any module... Only

Re: rlm_perl hash issue

2005-03-23 Thread Boian Jordanov
On Wed, Mar 23, 2005 at 05:13:14AM +0200, Chris Knipe wrote: Lo all, This has been to the perl mailing lists as well, there is nothing wrong with the code as far as every one knows... rlm_perl just doesn't like this for some reason Snipets of the script in question

Re: rlm_perl hash issue

2005-03-23 Thread Chris Knipe
- Original Message - From: Boian Jordanov [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Wednesday, March 23, 2005 9:56 AM Subject: Re: rlm_perl hash issue On Wed, Mar 23, 2005 at 05:13:14AM +0200, Chris Knipe wrote: Lo all, This has been to the perl mailing lists

Re: rlm_perl hash issue

2005-03-23 Thread Peter Nixon
On Wednesday 23 March 2005 09:18, Chris Knipe wrote: - Original Message - From: Chris Knipe [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Wednesday, March 23, 2005 5:31 AM Subject: Re: rlm_perl hash issue Chris Knipe [EMAIL PROTECTED] wrote: So basically

Re: rlm_perl hash issue

2005-03-23 Thread Kenneth Grady
as well, there is nothing wrong with the code as far as every one knows... rlm_perl just doesn't like this for some reason Snipets of the script in question: $RAD_REPLY{'Acct-Interim-Interval'} = 300; $RAD_REPLY{'MS-MPPE-Encryption-Policy'} = 1; $RAD_REPLY{'MS

Re: rlm_perl hash issue

2005-03-23 Thread Boian Jordanov
On Wed, Mar 23, 2005 at 01:48:43PM +0200, Peter Nixon wrote: On Wednesday 23 March 2005 09:18, Chris Knipe wrote: - Original Message - From: Chris Knipe [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Wednesday, March 23, 2005 5:31 AM Subject: Re: rlm_perl hash

Re: rlm_perl hash issue

2005-03-23 Thread Chris Knipe
Eeeek. There is definitely a bug somewhere :-( Fixed in CVS. Please use recent cvs snapshot. Before rlm_perl expects that scalar value of RAD_xxx hash is character value, now it can be string or integer. There is only one limitation an ip address should be returned as character value i.e

Re: rlm_perl hash issue

2005-03-23 Thread Alexander M. Pravking
On Wed, Mar 23, 2005 at 04:22:34PM +0200, Boian Jordanov wrote: Fixed in CVS. Please use recent cvs snapshot. Before rlm_perl expects that scalar value of RAD_xxx hash is character value, now it can be string or integer. There is only one limitation an ip address should be returned

Re: rlm_perl hash issue

2005-03-23 Thread Boian Jordanov
On Wed, Mar 23, 2005 at 07:42:20PM +0300, Alexander M. Pravking wrote: - if ((sv != NULL) (SvPOK(sv))) { - val = SvPV(sv, val_len); + if (SvTRUE(sv)) { + val = SvPV_nolen(sv); What if sv is 0 (or 0)? SvTRUE would fail, I think... SvLEN(sv) != 0

rlm_perl hash issue

2005-03-22 Thread Chris Knipe
Lo all, This has been to the perl mailing lists as well, there is nothing wrong with the code as far as every one knows... rlm_perl just doesn't like this for some reason Snipets of the script in question: $RAD_REPLY{'Acct-Interim-Interval'} = 300; $RAD_REPLY{'MS-MPPE

Re: rlm_perl hash issue

2005-03-22 Thread Alan DeKok
... that looks like rlm_perl isn't looking in the right place for the values of the perl variables. Not that I know anything about Perl Strange as well, is that format_bytes successfully completes the formating and the calculation. Thus, there is also nothing wrong in my code. Perl keeps

Re: rlm_perl hash issue

2005-03-22 Thread Chris Knipe
... that looks like rlm_perl isn't looking in the right place for the values of the perl variables. Not that I know anything about Perl Strange as well, is that format_bytes successfully completes the formating and the calculation. Thus, there is also nothing wrong in my code. Perl keeps values

Re: rlm_perl hash issue

2005-03-22 Thread Chris Knipe
- Original Message - From: Chris Knipe [EMAIL PROTECTED] To: freeradius-users@lists.freeradius.org Sent: Wednesday, March 23, 2005 5:31 AM Subject: Re: rlm_perl hash issue Chris Knipe [EMAIL PROTECTED] wrote: So basically: $RAD_REPLY{'Recv-Limit'} = $BytesAvail - $BytesUsed

Re: rlm_perl reply operators

2005-02-27 Thread Dustin Doris
On Sat, 26 Feb 2005, Alexander M. Pravking wrote: On Fri, Feb 25, 2005 at 02:26:12PM -0500, Dustin Doris wrote: Is there a way to specify different operators when adding something to the $RAD_REPLY hash? Such as. $RAD_REPLY{'Attribute'} = += Value; Currently, no. But you can try:

Re: rlm_perl reply operators

2005-02-26 Thread Alexander M. Pravking
On Fri, Feb 25, 2005 at 02:26:12PM -0500, Dustin Doris wrote: Is there a way to specify different operators when adding something to the $RAD_REPLY hash? Such as. $RAD_REPLY{'Attribute'} = += Value; Currently, no. But you can try: $RAD_REPLY{'Attribute'} = [ 'Value 1', 'Value 2' ]; I had

rlm_perl reply operators

2005-02-25 Thread Dustin Doris
Is there a way to specify different operators when adding something to the $RAD_REPLY hash? Such as. $RAD_REPLY{'Attribute'} = += Value; Thanks Dusty Doris - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Status of rlm_perl

2005-02-19 Thread Thor Spruyt
Hi, I was wondering when rlm_perl will become stable. What needs to be done in order to get it there? -- Groeten, Regards, Salutations, Thor Spruyt M: +32 (0)475 67 22 65 E: [EMAIL PROTECTED] W: www.thor-spruyt.com www.salesguide.be www.telenethotspot.be - List info/subscribe/unsubscribe? See

rlm_perl module

2005-02-15 Thread Serg Shipaev
Hello! I've got a question: can be rlm_perl module compiled staticly? Due compilation on linking step I've got: undefined symbol boot_DynaLoader Best regards, Serg - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Rlm_perl causes segfault (want perl to rewrite attributes)

2005-02-12 Thread Boian Jordanov
On Sat, Feb 12, 2005 at 01:02:34AM -0600, Dudley Atkinson wrote: I'd like to implement the rlm_perl to rewrite some attributes, and I get a segfault. I've included the debug and the perl -VV so maybe someone more knowledgeable can tell me why it fails (or give me a good pointer). First apply

RE: Rlm_perl causes segfault (want perl to rewrite attributes)

2005-02-12 Thread Dudley Atkinson
files instead of 1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boian Jordanov Sent: Saturday, February 12, 2005 11:31 AM To: freeradius-users@lists.freeradius.org Subject: Re: Rlm_perl causes segfault (want perl to rewrite attributes

Rlm_perl causes segfault (want perl to rewrite attributes)

2005-02-11 Thread Dudley Atkinson
I'd like to implement the rlm_perl to rewrite some attributes, and I get a segfault. I've included the debug and the perl -VV so maybe someone more knowledgeable can tell me why it fails (or give me a good pointer). I'll also mention what I'm trying to do. We have a couple of SSID's on a Cisco

Re: rlm_perl authorize and authenticate

2005-01-09 Thread Alan DeKok
Thor Spruyt [EMAIL PROTECTED] wrote: perl != myperl perl = name of the module myperl = name of the module instance Yes. The name of the instance is myperl, not perl. For authorize it works, but for authenticate I get that error. That surprises me. It's the same code in both cases.

RE: rlm_perl authorize and authenticate

2005-01-09 Thread Amit Gupta
Hi, What is rlm_perl? I could not find any document for this in /doc of Freeradius source. Its can be used for? Amit Gupta Mobile: 91-9891062552 Yahoo IM: amitguptainn MSN IM : amitguptainn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok

Re: rlm_perl authorize and authenticate

2005-01-09 Thread Thor Spruyt
Alan DeKok wrote: Thor Spruyt [EMAIL PROTECTED] wrote: perl != myperl perl = name of the module myperl = name of the module instance Yes. The name of the instance is myperl, not perl. For authorize it works, but for authenticate I get that error. That surprises me. It's the same code in both

Re: rlm_perl authorize and authenticate

2005-01-09 Thread Thor Spruyt
Amit Gupta wrote: What is rlm_perl? Same as rlm_python but for perl It's still in experimental condition! I could not find any document for this in /doc of Freeradius source. There isn't any documenation in doc, feel free to write some. There's a sample configuration in raddb/experimental.conf

rlm_perl authorize and authenticate

2005-01-08 Thread Thor Spruyt
Hi, I have following configuration in radiusd.conf: perl myperl { module = /opt/radiustest/example.pl } And I have configured the myperl instance in the authorize and the authenticate sections. It does work when I don't use an instance name, but with this

rlm_perl memory leak

2004-11-11 Thread Admin
Hi, all. I'm using FreeRadius 1.0.1 with rlm_perl under Linux kernel 2.4.27 rlm_perl module using DBI makes AAA. BUT, I found it increases its memory usage from 8Mb to 500Mb, so, what will be the next?? And why? Best regards, AL -- Best regards, Serg Shipaev, IP TELephony EXchange Ltd. e-mail

Re: rlm_perl memory leak

2004-11-11 Thread magmike
Hi! I wrote about this leak sometime ago. There was leakless rlm_perl in version 0.9.3. In previous and in all 1.0.X versions memory leak exists. So, now i use this rlm_perl with 1.0.1. Attached version also have a little improvement - it modifies all 3 items - reply, config but request. Hi

Re: rlm_perl memory leak

2004-11-11 Thread Admin
Hi, Thank you. I'll try to rebuild this module. Is't works normally after? AL [EMAIL PROTECTED] wrote: Hi! I wrote about this leak sometime ago. There was leakless rlm_perl in version 0.9.3. In previous and in all 1.0.X versions memory leak exists. So, now i use this rlm_perl with 1.0.1. Attached

Re: rlm_perl memory leak

2004-11-11 Thread Boian Jordanov
On Thu, Nov 11, 2004 at 09:40:01PM +0300, Admin wrote: Hi, all. I'm using FreeRadius 1.0.1 with rlm_perl under Linux kernel 2.4.27 rlm_perl module using DBI makes AAA. BUT, I found it increases its memory usage from 8Mb to 500Mb, so, what will be the next?? And why? Look at http

Re: Memory leak in rlm_perl

2004-10-25 Thread Nils Rønhovde
On Mon, 25 Oct 2004 10:27:14 +0200 Nils Rønhovde [EMAIL PROTECTED] wrote: On Tue, 14 Sep 2004 13:29:23 -0400 Alan DeKok [EMAIL PROTECTED] wrote: =?ISO-8859-1?Q?Jo=E3o_S=E1?= [EMAIL PROTECTED] wrote: Until now everything is fine but now I need to use a module in perl to do credit

Memory leak in rlm_perl

2004-09-14 Thread João Sá
Hi, I'm using freeradius 0.9.3. Until now everything is fine but now I need to use a module in perl to do credit control. I verified that when I start, the freeradius process begins with about 26 Mb in memory growing until I eat all memory available (I already had a process with 400 Mb). In

Re: Memory leak in rlm_perl

2004-09-14 Thread Alan DeKok
=?ISO-8859-1?Q?Jo=E3o_S=E1?= [EMAIL PROTECTED] wrote: Until now everything is fine but now I need to use a module in perl to do credit control. I verified that when I start, the freeradius process begins with about 26 Mb in memory growing until I eat all memory available (I already had a

1.0.0. Problems with check-radiusd-config and rlm_perl

2004-08-31 Thread magmike
Hello! Just now upgrade to 1.0.0. All works fine except check-radiusd-config and rlm_perl. 1. check-radiusd-config doesn't work with 1.0.0. because -p option is deprecated. why? IMHO, check-radiusd-config is userfull, when need to check new config while working instance is running. So option -p

Re: 1.0.0. Problems with check-radiusd-config and rlm_perl

2004-08-31 Thread Dominique Demore
I will be away on holidays until September 2. Should you require immediate assistance, please contact Rod MacLeod or George Gauthier. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: 1.0.0. Problems with check-radiusd-config and rlm_perl

2004-08-31 Thread Alan DeKok
installing rlm_perl from snapshot leak leaves me. Hmm OK. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re[2]: 1.0.0. Problems with check-radiusd-config and rlm_perl

2004-08-31 Thread magmike
to a better way of checking the configuration. i.e. like having the server re-load it's configuration files into a temporary structure, and then revert to the existing configuration if there's a problem reading teh new one. rlm_perl, have to reread scripts-file(s). what happend with perl's

Missing module freeradius-rlm_perl

2004-07-22 Thread Carlos Tinajero
I need module freeradius-rlm_perl. Any ideas where to get it? I have a RH ES 3 machine. (Embedded image moved to file: pic24773.gif)attachment: pic24773.gif

Re: rlm_perl hang with USE_ITHREADS

2004-07-12 Thread Boian Jordanov
Please apply latest patch to rlm_perl from cvs version 1.13, and if any trouble please email me. Boian. On Fri, Jul 09, 2004 at 02:29:18PM -0700, Matthew Albright wrote: We are using freeradius 1.0.0pre3 with rlm_perl, and have done something (not sure what) to get it to hang using 100

rlm_perl hang with USE_ITHREADS

2004-07-09 Thread Matthew Albright
We are using freeradius 1.0.0pre3 with rlm_perl, and have done something (not sure what) to get it to hang using 100% of the CPU. strace shows absolutely nothing, and when attached to with gdb, it appears that it's stuck on one line (the program pointer never moves when single stepping

rlm_perl v.1.0.0

2004-06-20 Thread PS
Hi, I use freeradius rlm_perl - haven't ever had any crash (under have testing also). I really like this module - I can do whatever I want, I can write billing the way I want with this module... Some time ago I read that it was on todo list to move this module into stable, but I checked - it's

Re: Reply-Message and rlm_perl NOT SENT?!?!?

2004-04-08 Thread PS
PS [EMAIL PROTECTED] wrote: It's not essential for me, but my intention was to supply some customized message (based on language etc) on accounting-stop saying something like 1.35$ usd has been deducted from your account, current ballance is 2.59$ usd. Thank you, hope to see you very soon :))

Re: Reply-Message and rlm_perl NOT SENT?!?!?

2004-04-07 Thread Alan DeKok
PS [EMAIL PROTECTED] wrote: It's not essential for me, but my intention was to supply some customized message (based on language etc) on accounting-stop saying something like 1.35$ usd has been deducted from your account, current ballance is 2.59$ usd. Thank you, hope to see you very soon :))

Reply-Message and rlm_perl NOT SENT?!?!?

2004-04-06 Thread PS
radiusd -X: rlm_perl: %%% Connection is being freed for F5D98D0 BDEF1810 91E70050 8D49CC64 rlm_perl: Added pair Reply-Message = You exceded simultaneous usage limit. rlm_perl: Added pair h323-credit-amount = h323-credit-amount=788 rlm_perl: Added pair h323-currency = h323-currency=USD

Re[2]: rlm_perl detaches when radius runs out of memory

2004-03-29 Thread Aivis Olsteins
: rlm_perl: rlm_perl::Detaching. Reloading. Done. How could we prevent perl module from detaching? If the radius runs out of memory and restarts, why to detach perl module? It leaves server without module which is needed for operation and since radiusd process is still running, it does

Rlm_perl :how to add

2004-02-18 Thread Truong Manh Cuong
Title: Message I want to write a perl script to control something in authorize session and authenticate session. How can I do that? Please give me a small example. where can I put the line that declare the script. where and what I have to add to config file when I want to use perl script.

Re: Rlm_perl :how to add

2004-02-18 Thread Anton Voronin
19 2004 11:37 Truong Manh Cuong (a): I want to write a perl script to control something in authorize session and authenticate session. How can I do that? Please give me a small example. where can I put the line that declare the script. where and what I have to add to config file when I

Re: rlm_perl authorize

2004-02-17 Thread Alan DeKok
loz [EMAIL PROTECTED] wrote: I'm trying to authorize a user by using the rlm_perl module only. I.e., I only want the perl script to control the authorization. That's nice. How will the user be authenticated? and in the authorize part the files statement is commented (otherwise freeradius

Re: rlm_perl Auth-Type

2004-02-17 Thread Alan DeKok
Mike Groeneweg [EMAIL PROTECTED] wrote: I tried making your suggested config changes, but still no luck. They won' work. authenticate { authtype perl_1 { perl } files } That won't work. The files module doesn't do authentication. What is the keyword

Re: rlm_perl Auth-Type

2004-02-17 Thread Alan DeKok
Michael Groeneweg [EMAIL PROTECTED] wrote: Nor did I expect it, but it's the only bit of configuration that seems to make radiusd even bother to call the designated Perl module for an authentication request. I don't understand why. You seem to be going out of your way to create complex

Re: rlm_perl Auth-Type

2004-02-17 Thread Michael Groeneweg
Alan DeKok wrote: Michael Groeneweg [EMAIL PROTECTED] wrote: Nor did I expect it, but it's the only bit of configuration that seems to make radiusd even bother to call the designated Perl module for an authentication request. I don't understand why. You seem to be going out of your

Re: rlm_perl authorize

2004-02-17 Thread Jeff Warnica
/eap modules work, so you might as well let them take care of setting an Auth-Type for things they handle, and you only worry about everything else. On Tue, 2004-02-17 at 03:41, loz wrote: Hi All, I'm trying to authorize a user by using the rlm_perl module only. I.e., I only want the perl

Re: rlm_perl Auth-Type

2004-02-16 Thread Support
From: Mike Groeneweg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: rlm_perl Auth-Type Reply-To: [EMAIL PROTECTED] This is a cryptographically signed message in MIME format. --ms090006000508040404020402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content

rlm_perl authorize

2004-02-16 Thread loz
Hi All, I'm trying to authorize a user by using the rlm_perl module only. I.e., I only want the perl script to control the authorization. In radiusd.conf I have set: proxy_requests = no and in the authorize part the files statement is commented (otherwise freeradius will look at the file

Re: rlm_perl Auth-Type

2004-02-16 Thread Mike Groeneweg
PROTECTED] To: [EMAIL PROTECTED] Subject: rlm_perl Auth-Type Reply-To: [EMAIL PROTECTED] This is a cryptographically signed message in MIME format. --ms090006000508040404020402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Greetings, Firstly

<    3   4   5   6   7   8