On Thu, 5 Dec 2002, Ray wrote:

> is there a way to get freeRadius to log good and bad logins to MySQL?

Good logins will get logged in mysql since you have accounting for these
sessions. As for bad logins you can use the log_badlogins script from
dialup_admin to log this information in mysql as normal sessions with the
terminate cause containing the reject reason.

>
> the techsupport frequantly gets calls from people who don't spell their
> username/password the same way we do. with our current system, there is a
> computer that we can PC Anywhere into and watch, and it shows the last 2
> logins (good or bad) but since we will be running freeRadius as a deamon,
> there isn't really a screen to watch.
>
> i don't think the issue will come up much since 80% of the time its a space
> in the username or password. the rest is usually using their email address
> rather then username or nt_domains got turned on somehow.
>
> also, how can you trim the username to remove junk like their email address?

You could create a DEFAULT realm.

>
> most of our users have the same email address as username
> ie:
> username: bob
> email: [EMAIL PROTECTED]
> so if they use [EMAIL PROTECTED], it will check for bob
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

--
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

Reply via email to