Cron can help but how will you know that NAS is added and you can lost some updates while your radius server was down.

Better idea is to make script and call it after every insert....

PHP can do this...

Pawel Cieplinski wrote:
Hi

Ok walter that is clear to me.
How would you solve that problem? Lets say I need NAS working just after its
added to SQL.

Restarting freeradius daemon using cron ?

Or

Use script wchich add NAS to SQL and restarting freerdius ?

Regards
Pawel Cieplinski

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
g] On Behalf Of Walter Krivanek, VividVisions
Sent: 22 January 2008 18:46
To: FreeRadius users mailing list
Subject: Re: NAS list update without restarting radius server.

Hi,

in sql.conf it says:

Set readclients to 'yes' to read radius clients from the database ('nas' table)
Clients will ONLY be read on server startup.  For performance
and security reasons, finding clients via SQL queries CANNOT
be done "live" while the server is running.

Best,
Walter


Am 22.01.2008 um 19:30 schrieb Pawel Cieplinski:

Hi there



Everything works fine so far, but after adding a new NAS to DB, radius server need restart to read this data, I am trying to manipulate nas list without restarting freeradius, but due to lack od documentation could you help me with that please.



Pawel Cieplinski

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to