rlm_exec and retriving RAD_REQUEST attribute values

Thor Spruyt thor.spruyt at telenet.be
Wed Aug 24 22:20:57 CEST 2005


Matt morris wrote:
> Hello list,
>
> This has probably been asked a lot times before, but I just couldn't
> get the attributes values from accounting request packets with my
> perl script. I am trying to do some database queries when I received
> stop accounting request packets, here are the relevant sections of my
> radiusd.conf and script file:

You're mixing up 2 modules: rlm_exec and rlm_perl
You configured your radius to use rlm_exec, but you're using a sample script
for rlm_perl, which is completely different!

There's a sample for rlm_exec at
http://www.freeradius.org/cgi-bin/cvsweb.cgi/radiusd/scripts/exec-program-wa
it?rev=1.4&content-type=text/x-cvsweb-markup


--
Groeten, Regards, Salutations,

Thor Spruyt
M: +32 (0)475 67 22 65
E: thor.spruyt at telenet.be
W: www.thor-spruyt.com

www.salesguide.be
www.telenethotspot.be




More information about the Freeradius-Users mailing list