rlm_perl DEBUG log with garbage output

Rohaizam Abu Bakar haizam at myjaring.net
Thu Jan 25 03:38:05 CET 2007


Hi,..

running xlat within rlm_perl..  giving correct result.. but what concern me is that.. in debug log.. there are garbage output as below:-


radius_xlat:  '.*'
radius_xlat: Running registered xlat function of module y5perl for string '%{User-Name}:%{NAS-Identifier}'
radius_xlat:  'bacang:JARINGWiF'
rlm_perl: Len is 4 , out is NULL?8???Ù¿¿?49(hÕ¿¿?? freespace is 254
radius_xlat:  'NULL'


calling from :-

attr_rewrite wifi {
##some code
replacewith = %{y5perl:%{User-Name}:%{NAS-Identifier}}

}

preacct
{
y5perl
wifi
files
}

sub xlat {
    # some code
    # return NULL or "somevalue"
    return ($value);
} 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070125/bae558d9/attachment.html>


More information about the Freeradius-Users mailing list