vlan assignment

Alan DeKok aland at deployingradius.com
Thu Aug 24 22:31:06 CEST 2017


On Aug 24, 2017, at 3:38 PM, Zenon Matuszyk <zenon.matuszyk at networkers.pl> wrote:
> I have a problem with vlan assignment on the group. If user is in group wi-fi should get ip with vlan 200 if it is in another group should get ip with vlan 216. I attach file witch freeradius -X. Users and group are in SAMBA4. If i login to wifi i get allways ip on vlan 216. I use login at mydomain.pl to connect wifi.
> 
> I try add in users but this is ignored

  What does that mean?

> root at LDAP1 /etc/freeradius # cat users

  We always ask for the debug output, because that's what we need.

> DEFAULT LDAP-Group != "wi-fi", Auth-Type:=Reject
>         Reply-Message="You are not allowed to connnect"
> DEFAULT Realm == Null
>         Auth-Type := Reject

  If you run the server in debug mode and read the output, it will tell you that this entry is wrong.  The "Auth-Type" belongs on the first line of the "users" file entry.

> Please help

  Following the documentation helps.

  Alan DeKok.




More information about the Freeradius-Users mailing list