Link MAC adress to user after 1st login
Alan DeKok
aland at deployingradius.com
Wed Sep 6 18:04:43 CEST 2006
"Jurgen van Vliet" <jurgen at wanbound.com> wrote:
> At the 1st login of a client, the MAC adress is put into the database
> At all next logins, if the MAC adress of that client does not match the
> allready recorded MAC adress the login gets rejected.
Run a script at first login to put the MAC address into the DB.
> I presume the MAC adress of the client requesting authentication is a
> variable in freeradius ?
Usually Calling-Station-Id.
> My question is how/where do I put the check if the MAC allready is registred
> and if the current MAC matches the registred one ?
See the documentation for rlm_sql. It includes examples.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list