user group allowed just a specific device.

Kalil de A. Carvalho kalilac at gmail.com
Wed Jul 26 16:07:11 CEST 2017


Hello Alan.

Thanks again for your replay.

That is what I face it when I put your sugestion:

/etc/raddb/sites-enabled/default[78]: Parse error in condition
elsif ((Packet-Src-IP-Address < 192.168.28.0/24) && (LDAP-Group ==
'AdmRedes')){
                               ^ Failed to parse value for attribute

What am I doing wrong?


On Wed, Jul 26, 2017 at 11:00 AM, Alan DeKok <aland at deployingradius.com>
wrote:

>
> > On Jul 26, 2017, at 9:55 AM, Kalil de A. Carvalho <kalilac at gmail.com>
> wrote:
> >
> > It is possible I change Packet-Src-IP-Address for a network range like
> > 192.0.2.1-254
> > or 192.0.2.0/24? Is there any statiment for network?
>
>   Yes.
>
>         if ((Packet-Src-IP-Address < 192.168.0.0/24) ..
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html
>



-- 
Atenciosamente,
Kalil de A. Carvalho


More information about the Freeradius-Users mailing list