On Sat, 19 Jul 2003, Evren Yurtesen wrote: > First of all log_badlogins is getting confused if there is a space in > username.
OK, although I don't like the idea of spaces inside the usernames I 've added support for that. > Also I thought it is not very efficent to give the error a name > and record this name to sql. I think its better to record the error > as it is and then recall it from mysql as it is. Well I attached a patch > for that to log_badlogins which breaks the failed_logins page which is > waiting to find the names that log_badlogins put into mysql. But the fix > for that is below also... The files were from freeradius-0.9.0-pre3 > release so patch apply to dialup_adminn log_badlogins in that release First of all the patch is not unified. Also I don't quite follow the reason for this change. > > The other problem is in truncate_radacct... it gives this error. But it > works when the commands are given line by line > > 2003-04-20 18:35:04 > DBD::mysql::db do failed: You have an error in your SQL syntax near > ';DELETE FROM radacct WHERE AcctStopTime < '2003-04-20 18:35:04';UNLOCK > TABLES' at line 1 at ./truncate_radacct line 30. OK I 've made a few changes in the binary files and it should work now. -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
