Transferring policy to v3.0.10

David Aldwinckle daldwinc at uwaterloo.ca
Thu Sep 17 14:18:27 CEST 2015


Hi All,

In version 2.1.12 I had some unlang in /etc/raddb/policy.conf which I
referenced in a number of virtual servers. 

In version 3.0.10, I notice that there is no more policy.conf. I found
policy.d/filter but I was unsure if this was the correct place to put
the config, and if I need to link it to mods-enabled.

Any advice on where to put legacy policy.conf things, like the one I've
included below?


remote_netid_reject {
	if ((Realm == "netid.uwaterloo.ca") &&  \ (("%{Client-Shortname}" ==
"prod1-west.eduroam.ca") || \ ("%{Client-Shortname}" ==
"prod2-west.eduroam.ca") || \ ("%{Client-Shortname}" ==
"prod1-east.eduroam.ca") || \ ("%{Client-Shortname}" ==
"prod2-east.eduroam.ca") || \ ("%{Client-Shortname}" == "moose.bc.net")
|| \ 
("%{Client-Shortname}" == "grizzly.bc.net"))) {
        reject
        }
}


Thanks,
Dave



More information about the Freeradius-Users mailing list