<div dir="ltr">Hi everybody.<div><br></div><div style>I'm using freeradius to log many wireless user, It works great.</div><div style>I have a MySQL table working with freeradius, and I use some SQL_counters to control the "timeup" of my users (based on the raddacct table of the database); everything work great, but I only have a problem:</div>
<div style><br></div><div style>Using a captive portal the user "USER1" can login wirh he freeradius server and it record the event int the raddacct table. If anohter user wants to user the same username "USER1" he can't login (I'm using the simultaneus SQL script). But if an other user use the usrname "USER1 " and he puts some "spaces" after the username, HE CAN LOGIN!</div>
<div style><br></div><div style>So I have many users using the same username putting one, two, three, ...etc., spaces after the username.</div><div style><br></div><div style>How can I solve this situation?</div><div style>
May be with a SQL query that ignores the spaces in the username? (talking about the sql counters)</div><div style><br></div><div style>Thanks a lot!!!</div><div style><br></div><div style>regards, </div><div style><br></div>
<div style>Andrés</div></div>