I am currently using freeradius to hotspot service. i have a trouble when authenticate user. For username i used handphone number (example : +65994567), this is based on policy. When i try to login user with that username it was failed. I try to debug, the result is the '+' sign was change to HEXA mode '2B'. I dont have any idea but this. Hope anyone can help me...
Thanks, my2 Debug result : ----cut---- modcall[authorize]: module "auth_log" returns ok for request 9 rlm_chap: Setting 'Auth-Type := CHAP' modcall[authorize]: module "chap" returns ok for request 9 modcall[authorize]: module "mschap" returns noop for request 9 rlm_realm: No '@' in User-Name = "+123", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 9 rlm_eap: No EAP-Message, not doing EAP modcall[authorize]: module "eap" returns noop for request 9 users: Matched DEFAULT at 152 modcall[authorize]: module "files" returns ok for request 9 radius_xlat: '=2B123' rlm_sql (sql): sql_set_user escaped user --> '=2B123' radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = '=3D2B123' ORDER BY id' rlm_sql (sql): Reserving sql socket id: 4 rlm_sql (sql): User =2B123 not found in radcheck radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = '=3D2B123' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id' radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = '=3D2B123' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id' rlm_sql (sql): User =2B123 not found in radgroupcheck rlm_sql (sql): User not found rlm_sql (sql): Released sql socket id: 4 modcall[authorize]: module "sql" returns notfound for request 9 modcall: group authorize returns ok for request 9 rad_check_password: Found Auth-Type CHAP auth: type "CHAP" Processing the authenticate section of radiusd.conf modcall: entering group Auth-Type for request 9 rlm_chap: login attempt by "+123" with CHAP password rlm_chap: Could not find clear text password for user +123 modcall[authenticate]: module "chap" returns invalid for request 9 modcall: group Auth-Type returns invalid for request 9 auth: Failed to validate the user. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html