ok. Would you mind sending to me an example of group difinition by NAS? I use freeradius with mysql.

Thanks



From: Alan DeKok <aland@deployingradius.com>
To: Dagia Dorjsuren <dagmid_d@yahoo.com>; FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Sent: Monday, August 20, 2012 6:52 PM
Subject: Re: Users on the multiple APs

Dagia Dorjsuren wrote:
> For example :
> There are "testuser" wifi chillispot user and three Wifi zones which are
> AP1, AP2 and AP3. That AP{1-2} are nas-identifier.
>
> AP1 has 10.10.10.1, AP2 has 10.10.10.2 and AP3 has 10.10.10.3 ip address.
>
> That "testuser" must be available for AP1 and AP2 wifi zones. But, that
> user must be unavailable for AP3 wifi zone.
>
> How will do it?

  Put the users into groups.  Then, do group checking.  Group A is
allowed to access AP1 and AP2.  etc.

  See the FAQ for examples of group definition and use.  See also "man
rlm_passwd", which has examples of group definitions.

  Alan DeKok.