At 10:15 AM 9/19/2002 +0200, Mustafa Deeb wrote:
>ok,
>but how do u specify the operator in a table?
The table is defined in the schema as:
CREATE TABLE radcheck (
id int(11) unsigned NOT NULL auto_increment,
UserName varchar(64) NOT NULL default '',
Attribute varchar(32) NOT NULL default '',
Value varchar(253) NOT NULL default '',
op char(2),
PRIMARY KEY (id),
KEY UserName (UserName(32))
) ;
You would set the 'op' column the same way you set any of the other
columns. How you set up the tables on your system, I don't know, but
you'll need to put a value in that column if you want to use and operator
other than '=='.
-Chris
--
\\\|||/// \ StarNet Inc. \ Chris Parker
\ ~ ~ / \ WX *is* Wireless! \ Director, Engineering
| @ @ | \ http://www.starnetwx.net \ (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
\ Wholesale Internet Services - http://www.megapop.net
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html