Re: problem with username renamed in radacct table

2013-01-31 Thread Alan DeKok
Hocine M wrote: For some reasons i don't understand, somtimes when accounting in radacct mysql table the username is renamed in web-portal-ssid where ssid is the SSID Web-Portal based. It's because the NAS is sending web-portal-ssid in the Accounting-Request. Or, your local configuration is

Re: problem with username renamed in radacct table

2013-01-31 Thread Hocine M
Le 31/01/2013 16:07, Alan DeKok a écrit : Hocine M wrote: For some reasons i don't understand, somtimes when accounting in radacct mysql table the username is renamed in web-portal-ssid where ssid is the SSID Web-Portal based. It's because the NAS is sending web-portal-ssid in the

Re: problem with username renamed in radacct table

2013-01-31 Thread Phil Mayers
Yes probably buggy nas changing username in logout acct packet. Seen this a lot on multiple vendors, seems lightweight wireless controllers often erroneously expose internal state to their radius servers :o( I nobbled our SQL queries to avoid the loss of data. Alan DeKok

Re: problem with username renamed in radacct table

2013-01-31 Thread Alan DeKok
Hocine M wrote: My local configuration does not update the User-Name. Then as I said, the NAS is sending the User-Name. Go fix the NAS. This isn't a FreeRADIUS problem. If you don't want that entry in the SQL database, you can write a FreeRADIUS policy to skip SQL for that User-Name. See