Use update control for VLAN with ntlm_auth
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Wed Oct 14 23:46:07 CEST 2015
Hi,
> But what happened, if you have different Rules?
you reply with different VLAN values! you need to decide your policies
and then write them.... how you DO policy making is down to you....but you
dont need to use PERL for various basic checks.... you say your VoIP devices
are in a database.... okay..so HOW are they in the DB? if its their MAC address
then you could do a single SQL check with unlang and if the return
valus is 1, then its in the DB and you can return a different vlan
if(){
}
else{
}
read the unlang pages and the freeradius SQL pages for how to do such constructs.
alan
More information about the Freeradius-Users
mailing list