SQL and huntgroups
Kanwar Ranbir Sandhu
m3freak at thesandhufamily.ca
Mon Jul 20 22:47:26 CEST 2009
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
More information about the Freeradius-Users
mailing list