Maybe freeradius can read the nas list from sql at startup to some<br>linked list and this list will be updated every given interval with a query<br>to the database.<br><br>Sounds reasonable.<br><br><br>Regards,<br>Liran Tal.
<br><br><div class="gmail_quote">On Jan 23, 2008 12:51 AM, Marinko Tarlac <<a href="mailto:mangia81@gmail.com">mangia81@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cron can help but how will you know that NAS is added and you can lost<br>some updates while your radius server was down.<br><br>Better idea is to make script and call it after every insert....<br><br>PHP can do this...<br>
<div><div></div><div class="Wj3C7c"><br>Pawel Cieplinski wrote:<br>> Hi<br>><br>> Ok walter that is clear to me.<br>><br>> How would you solve that problem? Lets say I need NAS working just after its<br>> added to SQL.
<br>><br>> Restarting freeradius daemon using cron ?<br>><br>> Or<br>><br>> Use script wchich add NAS to SQL and restarting freerdius ?<br>><br>> Regards<br>> Pawel Cieplinski<br>><br>> -----Original Message-----
<br>> From: freeradius-users-bounces+pawel=<a href="mailto:parkandmarine.com@lists.freeradius.org">parkandmarine.com@lists.freeradius.org</a><br>> [mailto:<a href="mailto:freeradius-users-bounces+pawel=parkandmarine.com@lists.freeradius.or">
freeradius-users-bounces+pawel=parkandmarine.com@lists.freeradius.or</a><br>> g] On Behalf Of Walter Krivanek, VividVisions<br>> Sent: 22 January 2008 18:46<br>> To: FreeRadius users mailing list<br>> Subject: Re: NAS list update without restarting radius server.
<br>><br>> Hi,<br>><br>> in sql.conf it says:<br>><br>> Set readclients to 'yes' to read radius clients from the database<br>> ('nas' table)<br>> Clients will ONLY be read on server startup.  For performance
<br>> and security reasons, finding clients via SQL queries CANNOT<br>> be done "live" while the server is running.<br>><br>> Best,<br>> Walter<br>><br>><br>> Am 22.01.2008 um 19:30 schrieb Pawel Cieplinski:
<br>><br>><br>>> Hi there<br>>><br>>><br>>><br>>> Everything works fine so far, but after adding a new NAS to DB,<br>>> radius server need restart to read this data, I am trying to
<br>>> manipulate nas list without restarting freeradius, but due to lack<br>>> od documentation could you help me with that please.<br>>><br>>><br>>><br>>> Pawel Cieplinski<br>>>
<br>>> -<br>>> List info/subscribe/unsubscribe? See<br>>><br>> <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>><br>> -<br>> List info/subscribe/unsubscribe? See
<br>> <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>><br>><br>><br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">
http://www.freeradius.org/list/users.html</a><br></div></div></blockquote></div><br>