Re: NAS list update without restarting radius server.
Hi, well the previous info regarding this only being read at startup was specific to data in SQL, so I suppose a kill -HUP should work. But I haven't tested it :P, maybe someone else on the list can tell us, otherwise give it a go by manually updating the clients.conf and try a kill -HUP, cheers Andy. ----- Original Message ----- From: "Pawel Cieplinski" <pawel@parkandmarine.com> To: "'A.smith'" <a.smith@ukgrid.net> Sent: Wednesday, January 23, 2008 2:02 PM Subject: RE: NAS list update without restarting radius server.
Hey Pawel,
why not have a script read the contents of the NAS table and update the freeradius clients.conf text file with the data, then configure freeradius to use the clients.conf file rather than MySQL for the secrets data? You could have it run every minute or so???
cheers Andy.
Ok Andy but is radiusd not readind clients.conf on start ? Like data from SQL ?
Pawel
________________________________________________ Message sent using UK Grid Webmail 2.7.9
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 22/01/2008 20:12
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.9/1239 - Release Date: 23/01/2008 10:24
Andy Smith wrote:
well the previous info regarding this only being read at startup was specific to data in SQL, so I suppose a kill -HUP should work.
Clients are not reloaded on HUP. Only modules, and even then, only some modules. Look at the log file after a HUP to see which modules were re-loaded. Alan DeKok.
Hi,
well the previous info regarding this only being read at startup was specific to data in SQL, so I suppose a kill -HUP should work. But I haven't tested it :P, maybe someone else on the list can tell us, otherwise give it a go by manually updating the clients.conf and try a kill -HUP,
according to latest sources (2.0.1) users file is HUP safe, SQL is not (SQL logging is) - as Alan says - need it? code it. alan
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Andy Smith