$RAD_REPLY - Add multiple pairs issue (rlm_perl)

Kinetix Tele.com Mailing Lists regs at kinetix.gr
Mon Apr 21 09:45:31 CEST 2008


I am using the following command to my authorize function (rlm_perl) :

$RAD_REPLY{'Cisco-Command-Code'} = \@final_routing;

because I want to add more than one pair in the reply packet.

(final_routing is a perl array containing the desired values)


These pairs are successfully added to the reply message during the 
authorization phase, but after the authentication function is being 
processed those pairs are added again one more time.

Note : the only line that I have in my authenticate function is :

return RLM_MODULE_OK;

(positively authenticate anything)

So I end up having twice the pairs I intended to in my reply packet.

Has anyone seen this behavior before?







More information about the Freeradius-Users mailing list