Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-17 Thread Boian Jordanov
On Wednesday 16 August 2006 18:09, Alex French wrote: Boina, That works fine for me (patching against a clean 1.1.2 tree) I've only tested == and := operators but they seem fine. Only one point to note; if you do not include an element in the hash with the same name as the attribute ( e.g.

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-16 Thread Alex French
Boina,That works fine for me (patching against a clean 1.1.2 tree) I've only tested == and := operators but they seem fine.Only one point to note; if you do not include an element in the hash with the same name as the attribute ( e.g. due to a typo or just a misconfiguration), the server hangs

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-15 Thread Boian Jordanov
On Monday 14 August 2006 21:27, Alex French wrote: Boian, Thanks, if you have a patch that actually implements the hash for the operator etc, that would be great (in fact, why not just submit it as a feature). If it's just to c- List info/subscribe/unsubscribe? See

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-15 Thread Boian Jordanov
On Monday 14 August 2006 21:27, Alex French wrote: Boian, Thanks, if you have a patch that actually implements the hash for the operator etc, that would be great (in fact, why not just submit it as a feature). If it's just to change the operator hardcoded in rlm_perl.c, that's fine, I have

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-14 Thread Boian Jordanov
On Friday 11 August 2006 20:18, Alex French wrote: Hi, Does anyone know if anything was done on the issue below? I'm looking for this functionality too, and I'd prefer not to have to recompile the module if the feature is available in HEAD or similar (although I can't see that...). No

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-14 Thread Alex French
On 13/08/06, Boian Jordanov [EMAIL PROTECTED] wrote: On Friday 11 August 2006 20:18, Alex French wrote: Hi, Does anyone know if anything was done on the issue below? I'm looking for this functionality too, and I'd prefer not to have to recompile the module if the feature is available in HEAD or

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-08-11 Thread Alex French
Hi,Does anyone know if anything was done on the issue below? I'm looking for this functionality too, and I'd prefer not to have to recompile the module if the feature is available in HEAD or similar (although I can't see that...). Thanks,AlexOn 22/06/06, Kenneth Marshall [EMAIL PROTECTED] wrote:

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-06-22 Thread Boian Jordanov
On Tuesday 20 June 2006 19:05, Kenneth Marshall wrote: On Tue, Jun 20, 2006 at 11:05:04AM +0200, Bj?rn Mork wrote: Kenneth Marshall [EMAIL PROTECTED] writes: I am trying to use rlm_perl to append a number to one member of the reply packet using rlm_perl and the %RAD_REPLY hash. I am

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-06-22 Thread Kenneth Marshall
On Thu, Jun 22, 2006 at 09:58:54AM +0300, Boian Jordanov wrote: Maybe passing a HASH ref for hash which contains the Operator key and the vp item too will be a good idea. For example $hash{'Tunnel-Id'} = visitor; $hash{'Operator'} = :=; $RAD_REPLY{'Tunnel-Id'} = \%hash; This way we

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-06-20 Thread Bjørn Mork
Kenneth Marshall [EMAIL PROTECTED] writes: I am trying to use rlm_perl to append a number to one member of the reply packet using rlm_perl and the %RAD_REPLY hash. I am running freeradius-1.1.1. I don't think you can do that with rlm_perl. The inability to specify operator is limiting.

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-06-20 Thread Kenneth Marshall
On Tue, Jun 20, 2006 at 11:23:13AM +0300, Boian Jordanov wrote: On Tuesday 20 June 2006 02:17, Kenneth Marshall wrote: Dear Freeradius Users: I am trying to use rlm_perl to append a number to one member of the reply packet using rlm_perl and the %RAD_REPLY hash. I am running

Re: Change RAD_REPLY item in rlm_perl, not add a new pair

2006-06-20 Thread Kenneth Marshall
On Tue, Jun 20, 2006 at 11:05:04AM +0200, Bj?rn Mork wrote: Kenneth Marshall [EMAIL PROTECTED] writes: I am trying to use rlm_perl to append a number to one member of the reply packet using rlm_perl and the %RAD_REPLY hash. I am running freeradius-1.1.1. I don't think you can do that

Change RAD_REPLY item in rlm_perl, not add a new pair

2006-06-19 Thread Kenneth Marshall
Dear Freeradius Users: I am trying to use rlm_perl to append a number to one member of the reply packet using rlm_perl and the %RAD_REPLY hash. I am running freeradius-1.1.1. Here is the code that I am using, a modified example.pl: use strict; # use ... # This is very important ! Without this