"Jurgen van Vliet" <[EMAIL PROTECTED]> 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html