SQL authentication with Auth-Type

2001-10-17 Thread Christoph Haas
Hi all... has anyone yet managed to set an Auth-Type as a check item in a MySQL database? For me no Auth-Type is working. I read in some older posting that the 'users' file supports an Auth-Type of 'sql'. But whenever I set an Auth-Type in the 'radcheck' table used for authentication (e.g.

Re: SQL authentication with Auth-Type

2001-10-17 Thread Fredrik Reite
At 18:48 2001-10-17 +0200, you wrote: Hi all... has anyone yet managed to set an Auth-Type as a check item in a MySQL database? For me no Auth-Type is working. I read in some older posting that the 'users' file supports an Auth-Type of 'sql'. But whenever I set an Auth-Type in the 'radcheck'

Re: SQL authentication with Auth-Type

2001-10-17 Thread aland
Fredrik Reite [EMAIL PROTECTED] wrote: i had to hack src/modules/rlm_sql/rlm_sql.c in the end i changed to module_t rlm_sql = { System, and now it works with 'DEFAULT Auth-Type := System' in the users file. Uh, NO, that is NOT a solution. All you're doing is making

Re: SQL authentication with Auth-Type

2001-10-17 Thread aland
Joe Modjeski [EMAIL PROTECTED] wrote: From reading on the list I believe this to be a problem that will be solved when the SQL tables begin to support operators. Currently the tables only use the '==' operator and in that case you can only match attributes that are sent. Yes, exactly.