Re: How do I dynamically insert and delete users?

2003-06-04 Thread Steve Fulton
 How do I dynamically insert and delete users that the radius server will
 use? Modifying raddb/users each time is too cumbersome, isn't it?

SQL or LDAP with a front-end of some sort.  Check the archives, there has
been plenty of discussion about it.

-- Steve.


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


RE: How do I dynamically insert and delete users?

2003-06-04 Thread Tim McCracken

And pick up a copy of the Radius book.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Steve
 Fulton
 Sent: Tuesday, June 03, 2003 4:30 PM
 To: [EMAIL PROTECTED]
 Subject: Re: How do I dynamically insert and delete users?


  How do I dynamically insert and delete users that the radius server will
  use? Modifying raddb/users each time is too cumbersome, isn't it?

 SQL or LDAP with a front-end of some sort.  Check the archives, there has
 been plenty of discussion about it.

 -- Steve.


 -
 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: How do I dynamically insert and delete users with mysql?

2003-06-04 Thread Nick Davis
Yes.

If you put sql in your authorize section of radius.conf there should be no 
need to have users in the users file. Provided your sql.conf is setup 
correctly.

Just make sure you comment out the files entry in your authorize section or 
put sql before files.

One you are correctly using the user entries from the database, you can add 
and remove them on the fly.

Nick

On Tuesday 03 June 2003 16:41, Michael Davis wrote:
 I am using mysql to populate my users list but I still have to insert each
 user name into the users file in order for radius to recognize it. It there
 a way to set up a table in mysql and change a config setting so that I can
 insert users dynamically without having to use the users file at all?

 Thanks
 Michael

-- 
Nick Davis 
Associate Systems Administrator 
[EMAIL PROTECTED] 
Internet Exposure, Inc. 
http://www.iexposure.com  

(612)676-1946 
Web Development-Web Marketing-ISP Services


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


RE: How do I dynamically insert and delete users with mysql?

2003-06-04 Thread Tim McCracken

Then you don't have it set up correctly to use MySql. My users
file is empty. All my users are in MySql, as I suspect is the
case with most people who use it.

There are lots of questions about MySql in the archives and
lots of info in the docs to get it going.


Tim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Michael
 Davis
 Sent: Tuesday, June 03, 2003 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: How do I dynamically insert and delete users with mysql?


 I am using mysql to populate my users list but I still have to insert each
 user name into the users file in order for radius to recognize
 it. It there
 a way to set up a table in mysql and change a config setting so that I can
 insert users dynamically without having to use the users file at all?

 Thanks
 Michael


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



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