Hi All, I want to use huntgroups in freeradius 2.1.6. I have a sql backend for auth and acct, so naturally I want to put huntgroups into mysql as well. 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? Or, is it much better to put it into the default config file? Thanks, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.27.25-170.2.72.fc10.x86_64 x86_64 GNU/Linux 16:41:50 up 2 days, 23:12, 4 users, load average: 0.54, 0.53, 0.37
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
participants (2)
-
Ivan Kalik -
Kanwar Ranbir Sandhu