Use a database sting function to trim this data during insert. I use: lower(trim('%{SQL-User-Name}')) in postgresql but there should be something similar in mysql if that is what your using.
schu
Gustavo Lozano wrote:
This one goes for the developers... When a user tries to login in putting spaces after his login name it passes: Tue Jul 8 14:03:12 2003 : Auth: Login OK: [customer ] (from client 192.168.254.1 port 477 cli 55512345)
So when the record go to the database it is stored like "customer " and in the case of "billing per seconds" the user bypasses the connection and get is for free.
Regards
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
