SQL and huntgroups

Ivan Kalik tnt at kalik.net
Mon Jul 20 23:49:48 CEST 2009


> I've read the wiki on how to do this, and I understand the notes.
> However, the wiki entry mentions that the following should either go
> into radiusd.conf or in sites-enabled/default:
>
> update request {
>     Huntgroup-Name := "%{sql:select groupname from radhuntgroup where
> nasipaddress=\"%{NAS-IP-Address}\"}"
> }
>
> Can I put that into my virtual server (also in sites-enabled) instead of
> the two options presented in the wiki?

You can put it in any virtual server where you want to use it.


Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list