mysql and huntgroups

2006-09-11 Thread Norbert Wegener
I am using freeradius having all the users stored in a mysql database.
This works fine.
Now I have the need to introduce huntgroups. This also works fine, when
using the huntgroups file.
As the mysql database is replicated automatically, all changes to user
accounts on the main database also appear on the backup server.
Can freeradius be configured, so that also the huntfile is handled by
mysql and changes within that file are also replicated to the backup
database?
I did not find information about that.
Thanks
Norbert Wegener

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


Re: mysql and huntgroups

2006-09-11 Thread Alan DeKok
Norbert Wegener [EMAIL PROTECTED] wrote:
 Can freeradius be configured, so that also the huntfile is handled by
 mysql and changes within that file are also replicated to the backup
 database?

  No.  But the SQL module could probably be updated a little to handle
that...

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Repost: mysql+groups+huntgroups

2004-01-23 Thread Marius Onica
Hi!

I'm reposting my own message since nobody answered it. Unfortunately my
problems remain unsolve. Maybe now I'll be more lucky.

TIA,
Marius


 I'm new to freeradius and I'm trying to implement groups in huntgroups.
 I'm using freeradius 0.93 with mysql. I must note that user authorization
 is working ok, and huntgroups is also working when I use inside them only
 user names.

 My configuration is as follows:

 radcheck table:
 
  id username  attribuite op value
 
   1 usera Crypt-Password == password


 radgroupcheck table:
 
  id groupname  attribuite op value
 
   2  dinamicAuth-Type == local
   3  dinamicHuntgroup-Name+= HG


 radreply table is empty

 radgroupreply table:
 
  id groupname  attribuite op value
 
  4  dinamic   Service-Type   :=  Framed-User
  5  dinamic   Framed-Protocol:=   PPP
  6  dinamic   Framed-MTU :=   1500
  7  dinamic   Idle-Timeout   :=   1200
  8  dinamic   Fall-Through   :=   Yes


 usergroup table:

 
  id username  Groupname
 
   1  usera dinamic

 My huntgroups file contains:

 HG   NAS-IP-Address == 192.168.0.5
   Group = dinamic


__
Inflex - installed on mailserver for domain @uoradea.ro
Queries to: [EMAIL PROTECTED]

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


mysql+groups+huntgroups

2004-01-20 Thread Marius Onica
Hi !

I'm new to freeradius and I'm trying to implement groups in huntgroups.
I'm using freeradius 0.93 with mysql. I must note that user authorization
is working ok, and huntgroups is also working when I use inside them only
user names.

My configuration is as follows:

radcheck table:

 id username  attribuite op value

  1 usera Crypt-Password == password


radgroupcheck table:

 id groupname  attribuite op value

  2  dinamicAuth-Type == local
  3  dinamicHuntgroup-Name+= HG


radreply table is empty

radgroupreply table:

 id groupname  attribuite op value

 4  dinamic   Service-Type   :=  Framed-User
 5  dinamic   Framed-Protocol:=   PPP
 6  dinamic   Framed-MTU :=   1500
 7  dinamic   Idle-Timeout   :=   1200
 8  dinamic   Fall-Through   :=   Yes


usergroup table:


 id username  Groupname

  1  usera dinamic

My huntgroups file contains:

HG   NAS-IP-Address == 192.168.0.5
  Group = dinamic

Thanks in advance,
  Marius


__
Inflex - installed on mailserver for domain @uoradea.ro
Queries to: [EMAIL PROTECTED]

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