rlm_perl and empty user name variable

Boyan Jordanov bjordanov at orbitel.bg
Thu Oct 27 10:08:12 CEST 2005


On Wednesday 26 October 2005 21:52, Gustave Nylander wrote:
> sub authenticate {
>        # For debugging purposes only
>        &log_request_attributes;
>
>        if ($RAD_REQUEST{'User-Name'} =="") {

Use 
if ($RAD_REQUEST{'User-Name'}  eq ""  

-- 
Best Regards,
Boian Jordanov
SNE
Orbitel - Next Generation Telecom
tel. +359 2 4004 723 
tel. +359 2 4004 002




More information about the Freeradius-Users mailing list