Re: rml_perl is not adding attributes to Access-accept

2011-08-03 Thread Bjørn Mork
Igor Xpinha fishsemxpi...@gmail.com writes: # This is very important ! Without this script will not get the filled hashesh from main. use vars qw(%RAD_REQUEST %RAD_REPLY %RAD_CHECK); #use Data::Dumper; # This is hash wich hold original request from radius my %RAD_REQUEST; # In this hash

rml_perl is not adding attributes to Access-accept

2011-08-02 Thread Igor Xpinha
I'm new to FreeRADIUS and was initially exploring simple things, such as add attributes to an Access-Accept message. My problem is that the perl script is not being able to access (ie print) values from RAD_REQUEST nor add pairs to RAD_REPLY. The following script: *** start of

Adding Attributes in Access-Accept

2010-08-31 Thread Chidanand Gangur
Hi All, I have a set up where in user is Proxyed to home server for authentication, things are working fine. In the response Access-Accept I see the following: rad_recv: Access-Accept packet from host 192.168.7.40 port 1812, id=195, length=68 Proxy-State = 0x3530 Framed-Protocol = PPP

Re: Adding Attributes in Access-Accept

2010-08-31 Thread Chidanand Gangur
Hi Alan, Thank you for your quick response. I will definitely explore unlang. Right now I tried working with attr_rewrite module things worked as expected. Thanks Regards, Chidanand On Tue, Aug 31, 2010 at 4:44 PM, Alan DeKok al...@deployingradius.comwrote: Chidanand Gangur wrote: I do