Re: Freeradius 0.9.3 with mysql

2003-12-11 Thread Graeme Hinchliffe
On Wed, 10 Dec 2003 13:56:44 -0500
Alan DeKok [EMAIL PROTECTED] wrote:

 Justin Williams [EMAIL PROTECTED] wrote:
  By the way, I did not see a command in the man pages to restart radiusd
  after making config changes.  Is there such?
 
   Huh?  It's a normal program.  You just kill it, and re-start it.

Will a HUP force a reload of the config? 

-- 
-
Graeme Hinchliffe (BSc)
Core Team Member
Zen Internet (http://www.zen.co.uk)

ICQ 3842605 (link)

Direct: 0845 058 9074
Main  : 0845 058 9000
Fax   : 0845 058 9005


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


Re: Freeradius 0.9.3 with mysql

2003-12-11 Thread Alan DeKok
Graeme Hinchliffe [EMAIL PROTECTED] wrote:
 Will a HUP force a reload of the config? 

  Yes.

  Alan DeKok.

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


Re: Freeradius 0.9.3 with mysql

2003-12-11 Thread Dan Monjar
--On Thursday, December 11, 2003 01:40:40 PM -0500 Alan DeKok 
[EMAIL PROTECTED] wrote:

Graeme Hinchliffe [EMAIL PROTECTED] wrote:
Will a HUP force a reload of the config?
  Yes.

  Alan DeKok.

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
Were you able to address the occasional server crash in response to the HUP?

--
Daniel Monjar
IS Manager, Technical Services
bioMérieux, Inc.
Durham, NC US
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius 0.9.3 with mysql

2003-12-11 Thread Alan DeKok
Dan Monjar [EMAIL PROTECTED] wrote:
 Were you able to address the occasional server crash in response to the
 HUP?

  Yes.

  Alan DeKok.

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


Re: Freeradius 0.9.3 with mysql

2003-12-10 Thread Alan DeKok
Justin Williams [EMAIL PROTECTED] wrote:
 At any rate, with the user test in the users file, it authenticates
 just fine.  When I comment that out and add the user to the mysql table,
 usergroups, it does not authenticate, and I don't notice any reference
 to mysql in the rejection notice 

  So run it in debugging mode to see what's going wrong.

  Also, you *do* need to configure 'radiusd.conf' to use the SQL
module.  You can't just put users into an SQL database, and hope that
the server magically knows where to look.

  Alan DeKok.



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


RE: Freeradius 0.9.3 with mysql

2003-12-10 Thread Justin Williams
Already running in debugging mode, but, too ignorant of what it all
means.  If there is a reference you recommend that would help me learn
more about radius, in general, I'll be happy to go hunting in there too.

I added sql to the accounting section in radius.conf, but I did not add
it into the authorize section...  Added that and will hope that it
works...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Wednesday, December 10, 2003 1:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql 


Justin Williams [EMAIL PROTECTED] wrote:
 At any rate, with the user test in the users file, it authenticates 
 just fine.  When I comment that out and add the user to the mysql 
 table, usergroups, it does not authenticate, and I don't notice any 
 reference to mysql in the rejection notice

  So run it in debugging mode to see what's going wrong.

  Also, you *do* need to configure 'radiusd.conf' to use the SQL module.
You can't just put users into an SQL database, and hope that the server
magically knows where to look.

  Alan DeKok.



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


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


RE: Freeradius 0.9.3 with mysql

2003-12-10 Thread Justin Williams
Bingo...  That worked...  I was missing the sql entry in the authorize
section...

Would still love to go read up on radius, though!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin
Williams
Sent: Wednesday, December 10, 2003 1:43 PM
To: [EMAIL PROTECTED]
Subject: RE: Freeradius 0.9.3 with mysql 


Already running in debugging mode, but, too ignorant of what it all
means.  If there is a reference you recommend that would help me learn
more about radius, in general, I'll be happy to go hunting in there too.

I added sql to the accounting section in radius.conf, but I did not add
it into the authorize section...  Added that and will hope that it
works...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Wednesday, December 10, 2003 1:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql 


Justin Williams [EMAIL PROTECTED] wrote:
 At any rate, with the user test in the users file, it authenticates
 just fine.  When I comment that out and add the user to the mysql 
 table, usergroups, it does not authenticate, and I don't notice any 
 reference to mysql in the rejection notice

  So run it in debugging mode to see what's going wrong.

  Also, you *do* need to configure 'radiusd.conf' to use the SQL module.
You can't just put users into an SQL database, and hope that the server
magically knows where to look.

  Alan DeKok.



- 
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


Re: Freeradius 0.9.3 with mysql

2003-12-10 Thread Alan DeKok
Justin Williams [EMAIL PROTECTED] wrote:
 Bingo...  That worked...  I was missing the sql entry in the authorize
 section...

  That's good to hear.

 Would still love to go read up on radius, though!

  Buy the RADIUS book.  See the web site for details.

  Alan DeKok.

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


RE: Freeradius 0.9.3 with mysql

2003-12-10 Thread Justin Williams
Thank you!

By the way, I did not see a command in the man pages to restart radiusd
after making config changes.  Is there such?

Thanks again!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Wednesday, December 10, 2003 1:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql 


Justin Williams [EMAIL PROTECTED] wrote:
 Bingo...  That worked...  I was missing the sql entry in the authorize

 section...

  That's good to hear.

 Would still love to go read up on radius, though!

  Buy the RADIUS book.  See the web site for details.

  Alan DeKok.

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


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


Re: Freeradius 0.9.3 with mysql

2003-12-10 Thread Alan DeKok
Justin Williams [EMAIL PROTECTED] wrote:
 By the way, I did not see a command in the man pages to restart radiusd
 after making config changes.  Is there such?

  Huh?  It's a normal program.  You just kill it, and re-start it.

  Alan DeKok.

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


RE: Freeradius 0.9.3 with mysql

2003-12-10 Thread Justin Williams
Thanks!  Was thinking in terms of daemons like httpd, which have their
own start/stop commands.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Wednesday, December 10, 2003 1:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql 


Justin Williams [EMAIL PROTECTED] wrote:
 By the way, I did not see a command in the man pages to restart 
 radiusd after making config changes.  Is there such?

  Huh?  It's a normal program.  You just kill it, and re-start it.

  Alan DeKok.

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


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


Re: Freeradius 0.9.3 with mysql

2003-12-10 Thread Guy Fraser
The init command will depend on the distribution you are using.

On RH, as root it should be somthing like :

/sbin/service radiusd restart

On Debian :

/etc/init.d/freeradius restart

On Suse:

/etc/init.d/radiusd restart

On FreeBSD :-)

/usr/local/etc/rc.d/radiusd.sh restart

Good luck.

Justin Williams wrote:

Thanks!  Was thinking in terms of daemons like httpd, which have their
own start/stop commands.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Wednesday, December 10, 2003 1:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql 

Justin Williams [EMAIL PROTECTED] wrote:
 

By the way, I did not see a command in the man pages to restart 
radiusd after making config changes.  Is there such?
   

 Huh?  It's a normal program.  You just kill it, and re-start it.

 Alan DeKok.

- 
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


RE: Freeradius 0.9.3 with mysql

2003-12-10 Thread Justin Williams
In Mandrake (very similar to redhat in most respects), service radiusd
restart returned the error that radiusd was not registered as a
service...  

For the moment, kill works...  ;-)

Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guy Fraser
Sent: Wednesday, December 10, 2003 5:46 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql


The init command will depend on the distribution you are using.

On RH, as root it should be somthing like :

/sbin/service radiusd restart

On Debian :

/etc/init.d/freeradius restart

On Suse:

/etc/init.d/radiusd restart

On FreeBSD :-)

/usr/local/etc/rc.d/radiusd.sh restart

Good luck.

Justin Williams wrote:

Thanks!  Was thinking in terms of daemons like httpd, which have their 
own start/stop commands.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan 
DeKok
Sent: Wednesday, December 10, 2003 1:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Freeradius 0.9.3 with mysql 


Justin Williams [EMAIL PROTECTED] wrote:
  

By the way, I did not see a command in the man pages to restart
radiusd after making config changes.  Is there such?



  Huh?  It's a normal program.  You just kill it, and re-start it.

  Alan DeKok.

-
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


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