On Sat, Jul 12, 2003 at 09:52:42AM +0700, Truong Manh Cuong wrote:
> what is the defferent of radgroupcheck, radgroupreply? radcheck and radreply?-- 

Actually nothing. You can just put them in one table:

CREATE TABLE radiususers (
  id int(10) unsigned NOT NULL auto_increment,
  source tinyint(4) NOT NULL default '0',
  name varchar(64) NOT NULL default '',
  kind enum('user','group') NOT NULL default 'user',
  type enum('check','reply') NOT NULL default 'check',
  attr varchar(64) NOT NULL default '',
  op char(2) NOT NULL default '=',
  value varchar(253) NOT NULL default '',
  PRIMARY KEY  (id),
  KEY name (name,kind,type)
) TYPE=MyISAM;

and modify sql queries to match this setup. source is an extra field I
use to keep track which source created this attribute (I have multiple
database which feed this one).

Oliver.


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

Reply via email to