Hello, Apparently the radiusd is not loading the nas list from the nas table but from the users.conf...anyone knows how to tell freeradius to load the list from the mysql table and skip the users.conf file? cheers, Genís.
Hi,
Hello,
Apparently the radiusd is not loading the nas list from the nas table but from the users.conf...anyone knows how to tell freeradius to load the list from the mysql table and skip the users.conf file?
1) ensure you have populated the SQL database with the NAS table 2) ensure that you have enabled 'read clients' in the SQL config for the SQL dialect you have chosen 3) ensure there are no duplicate entries in clients.conf - but make sure one entry exists - eg 127.0.0.2 as a dummy 4) ensure that the SQL module is being loaded. IF you dont use it for auth/acct/etc then you have to put it in as an entry in the 'instantiate' section or it wont be called alan
Hi, thank you for your reply. I have everything set up as u mentioned, but for 2) ensure that you have enabled 'read clients' in the SQL config for the SQL dialect you have chosen This option is not available... and in radiusd.conf only the clients.conf file is mentioned ($INCLUDE)... Should this be in the config file by default or is it only available on the latest version of freeradius? Genís ________________________________ De: freeradius-users-bounces@lists.freeradius.org en nombre de A.L.M.Buxey@lboro.ac.uk Enviado el: jue 23/08/2007 13:16 Para: FreeRadius users mailing list Asunto: Re: nas table and users.conf Hi,
Hello,
Apparently the radiusd is not loading the nas list from the nas table but from the users.conf...anyone knows how to tell freeradius to load the list from the mysql table and skip the users.conf file?
1) ensure you have populated the SQL database with the NAS table 2) ensure that you have enabled 'read clients' in the SQL config for the SQL dialect you have chosen 3) ensure there are no duplicate entries in clients.conf - but make sure one entry exists - eg 127.0.0.2 as a dummy 4) ensure that the SQL module is being loaded. IF you dont use it for auth/acct/etc then you have to put it in as an entry in the 'instantiate' section or it wont be called alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi,
thank you for your reply. I have everything set up as u mentioned, but for 2) ensure that you have enabled 'read clients' in the SQL config for the SQL dialect you have chosen This option is not available... and in radiusd.conf only the clients.conf file is mentioned ($INCLUDE)...
Should this be in the config file by default or is it only available on the latest version of freeradius?
its in the SQL config...eg sql.conf - "readclients = yes" near the bottom alan
Hi, I'm using RHEL 3, it ships with freeradius 0.9.0, could it be that this option is not available in this version?...I added the string u mentioned but it doesn't read the data from the nas table...clients.conf only has localhost and the nas and clients file are empty. cheers, Genís ________________________________ De: freeradius-users-bounces@lists.freeradius.org en nombre de A.L.M.Buxey@lboro.ac.uk Enviado el: jue 23/08/2007 13:45 Para: FreeRadius users mailing list Asunto: Re: nas table and users.conf Hi,
thank you for your reply. I have everything set up as u mentioned, but for 2) ensure that you have enabled 'read clients' in the SQL config for the SQL dialect you have chosen This option is not available... and in radiusd.conf only the clients.conf file is mentioned ($INCLUDE)...
Should this be in the config file by default or is it only available on the latest version of freeradius?
its in the SQL config...eg sql.conf - "readclients = yes" near the bottom alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Genis Pujol Hamelink wrote:
I'm using RHEL 3, it ships with freeradius 0.9.0, could it be that this option is not available in this version?...I added the string u mentioned but it doesn't read the data from the nas table...clients.conf only has localhost and the nas and clients file are empty.
It's not available in that version. Use a recent version, not one that was released 4 years ago. Alan DeKok.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Genis Pujol Hamelink