Possible bug in rlm_perl
tnt at kalik.net
tnt at kalik.net
Tue Apr 21 11:21:43 CEST 2009
> I think I may have found a bug in rlm_perl?
No, you broke it.
> #The following line cleans two of the slashes "\\"
> out of the user-name before we return from the
> #perl module. These two slashes get added in. I'm
> not sure how or why.
>
> $RAD_REQUEST{'User-Name'} =~ s/^$domain\\/$domain/;
>
Extra slashes are escaping slashes in the username. Leave them alone.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list