Simple attribute question!

alan buxey A.L.M.Buxey at lboro.ac.uk
Wed Aug 29 22:43:42 CEST 2012


Hi,

>    Any ideas?

why not just put the required stuff into the post-auth - either still using
the files entries.... or using unlang eg something like


if("%{User-Name}% =~ /[frankdsa|everdstons|kirddksa|kefls]/ && NAS-IP-Address =~ /192\.168\.104\./ ){                                                              
update reply {                                                                        
           Reply-Message += "Welcome %{User-Name}\n",                                                                                 
           Reply-Message += "Admin access",
           Cisco-AVPair := "shell:priv-lvl=15"
	}

}


?

alan


More information about the Freeradius-Users mailing list