Populate attribute via perl
Eugene Grosbein
fr at grosbein.net
Fri May 26 23:26:54 CEST 2017
27.05.2017 3:48, Arnab Roy пишет:
> Hi ,
> Just wondering if it is possible to update a custom attribute which I
> have defined in the dictionary using a perl script. Looking at the
> examples on rlm-perl I can see examples of passing values to it rather
> than getting a return string populating a server attribute?
> Is this possible?
> Your help is appreciated.
> Many Thanks
> Arnan
Just store your value to %RAD_REPLY hash before return.
Look at https://wiki.freeradius.org/modules/Rlm_perl for example:
$RAD_REPLY{'h323-credit-amount'} = "100";
More information about the Freeradius-Users
mailing list