Reject user by Calling-Station-Id

Alex M freeradius at lrcommunications.net
Sat Jan 31 00:34:14 CET 2009


Tried that...
now i'm getting all users rejected regardless of mac address in the given
group :(
How do i set priorities? I though priorities only apply to radreply.

Do I have to set fall through?

Or maybe i did something wrong?



On Fri, Jan 30, 2009 at 5:45 PM, <tnt at kalik.net> wrote:

> >Hi i just tried to add following (as adviced) into my radcheck table in
> >MySQL:
> >
> >UserName: DEFAULT
> >Attribute: Calling-Station-Id
> >op: ==
> >Value: 00:0b:6a:xx:xx:xx, Auth-Type := Reject
> >
> >And it did not work
> > guessI just can not add value with operator in it, but still how can i
> >reject user based on their mac address with MySQL only setup. I would
> assume
> >if i do the same in users tabe on the server then it should work? But I
> >prefere MySQL managment
>
> OK, use groups then. For group ban put:
>
> Calling-Station-Id == 00:0b:6a:xx:xx:xx and Auth-Type := Reject in
> radgroupcheck table
>
> you can also add Reply-Message = Oh, no, you won't! in radgroupreply (I
> see you are asking about reply message for rejected users as well)
>
> add all users to group ban with low priority.
>
> Ivan Kalik
> Kalik Informatika ISP
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090130/c9d89e7a/attachment.html>


More information about the Freeradius-Users mailing list