help need with mysql statement in freeradius

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Sat May 17 20:38:12 CEST 2008


Hi,

>                $RAD_REPLY{'Reply-Message'} = "Mac Address Successfully
> updated in database $RAD_REQUEST{'Calling-Station-Id'}";
>                return RLM_MODULE_OK;
> 
>                # Do some logging.
>        &radiusd::radlog(1,"rlm_perl:: NEW MAC updated in database.");

note the order of your code here. you are 'return'ing before you've
donr the radlog bit. ie the radlog will never be hit because
you've already returned from the subroutine.  slap the radlog
straight before the return and you'll get the values
in the radius.log

alan



More information about the Freeradius-Users mailing list