20 Jul
2009
20 Jul
'09
5:46 a.m.
hi, i've got a few virtual hosts that do checks on the NAS-IP-Address - all works fine - but those lists of NAS are now growing so in order to maintain sanity I thought 'heck, lets use a Huntgroup' however, I recall hu8ntgroups being very much tied to users and wasnt sure of their status in unlang. if i have raddb/hntgroups alphen NAS-IP-Address == 192.168.2.5 alphen NAS-IP-Address == 192.168.2.6 alphen NAS-IP-Address == 192.168.2.7 and, in the virtual host i have if("%{HuntGroup}" == "alphen"){ sql ok = return } would this work as expected with unlang and this variable? ie would the SQL only be hit if the NAS was 192.168.2.5, 192.168.2.6 or 192.168.2.7 - which in theory it looks like? alan