RE: Getting clients from a mysql table

2013-03-26 Thread Peter Kaagman


Try adding the SQL module to the jnstantiate section of radiusd.conf


From the radiusd -X output:
including configuration file /etc/raddb/modules-enabled/logintime
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/sql.conf


Not sure what you mean by that... to me it looks like sql.conf is loaded
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Getting clients from a mysql table

2013-03-26 Thread Phil Mayers

On 03/26/2013 12:52 PM, Peter Kaagman wrote:




Try adding the SQL module to the jnstantiate section of radiusd.conf



 From the radiusd -X output:

including configuration file /etc/raddb/modules-enabled/logintime
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/sql.conf



Not sure what you mean by that... to me it looks like sql.conf is loaded


Yes. But if you look on, you'll see that's the last time sql is 
mentioned. The module is not instantiated, becasuse you haven't 
referenced it anywhere.


Hence, add it to the instantiate section, as you were advised.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Getting clients from a mysql table

2013-03-26 Thread A . L . M . Buxey
Hi,

 Try adding the SQL module to the jnstantiate section of radiusd.conf
 
 
 From the radiusd -X output:
 including configuration file /etc/raddb/modules-enabled/logintime
 including configuration file /etc/raddb/eap.conf
 including configuration file /etc/raddb/sql.conf

edit the dialup.conf so that the nas details are read in (its at bottom).

when correct, you will see your clients being read in when you run in debug 
mode.

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


Re: Getting clients from a mysql table

2013-03-26 Thread Olivier Beytrison
On 26.03.2013 13:52, Peter Kaagman wrote:
 

 Try adding the SQL module to the jnstantiate section of radiusd.conf


 From the radiusd -X output:
 including configuration file /etc/raddb/modules-enabled/logintime
 including configuration file /etc/raddb/eap.conf
 including configuration file /etc/raddb/sql.conf

 
 Not sure what you mean by that... to me it looks like sql.conf is loaded
Yes the configuration file is loaded.

But it seems that you do not use the sql module anywhere within your
virtual server. If you look at your debug output, you won't find a
Module: Instantiating module sql

If you don't call sql within your virtual server and want to use it
only to load your NASes, then add sql to the instantiate {} section in
radiusd.conf

Olivier

-- 

 Olivier Beytrison
 Network  Security Engineer, HES-SO Fribourg
 Mail: oliv...@heliosnet.org
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Getting clients from a mysql table

2013-03-26 Thread Peter Kaagman
  Not sure what you mean by that... to me it looks like sql.conf is
  loaded
 Yes the configuration file is loaded.
 
 But it seems that you do not use the sql module anywhere within your virtual
 server. If you look at your debug output, you won't find a
 Module: Instantiating module sql
 
 If you don't call sql within your virtual server and want to use it only to 
 load
 your NASes, then add sql to the instantiate {} section in radiusd.conf
 
 Olivier
 

Ok... thanks for making that clear to me... works now.

_o_

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