On Tue, Apr 29, 2014 at 1:41 PM, Alan DeKok <aland@deployingradius.com> wrote:
Russell Mike wrote:
> i have a special requirement, i need your help to understand FreeRADIUS
> virtual server(s) a little bit. i want to use FreeRADIUS for MAC
> authentication and i need the following results.
>
> if not found then accept the access
> if found look for accept & reject value in the database table to send
> reply.

  That's possible.

> My question is not that how to do it, but to know if do able. i shall
> read more documentation if possible to achieve. i would VERY grateful
> also, if someone can kindly send me the documentation link, which
> explain this kind of topic.

  Go to http://wiki.freeradius.org/

  Type in "mac auth" into the search bar.

  Click on the obvious link.

  PLEASE check the wiki.  It's not hard.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



authorize {

authorized_macs

  # if not found accept access

  if (!ok) {

 accept

# Here I also want to say that if record found, look for accept and reject field in DB. i need little help 

  }

else {

   

    update control {

      Auth-Type := Accept

    }

  }

}


it seems to be little tricky for me, once i have already said, accept if record NOT found. how can i say again look for (accept/reject) entry if record found.  

Thanks / Regards
RM --