Re: mysql radcheck field syntax

2003-01-29 Thread Simon White
28-Jan-03 at 19:18, Doug Yeager ([EMAIL PROTECTED]) wrote :
 This is an easy one:
 I want to add a user to mysql. Can someone tell me the right values for the 
 attribute and op field?
 I'm just trying to test to see if I can get something simple working.
 Is this right:
 Insert into radcheck (username,attribute,value,op) values 
 ('doug','User-Password','testpass','==');

This works best for me:

username, attribute, value, op : 'simon', 'Crypt-Password', 'GkTfS3XVFwvDR', null

Regards,

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863

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



Re: mysql radcheck field syntax

2003-01-29 Thread Alan DeKok
Doug Yeager [EMAIL PROTECTED] wrote:
 This is an easy one:
 I want to add a user to mysql. Can someone tell me the right values for the 
 attribute and op field?

  That depends on your local configuration.  See the 'users' file for
examples.

  Read 'doc/rlm_sql' in the latest CVS snapshot.

  Alan DeKok.

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



mysql radcheck field syntax

2003-01-28 Thread Doug Yeager
This is an easy one:
I want to add a user to mysql. Can someone tell me the right values for the 
attribute and op field?
I'm just trying to test to see if I can get something simple working.
Is this right:
Insert into radcheck (username,attribute,value,op) values 
('doug','User-Password','testpass','==');


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