On Wed, 11 Sep 2002, NetNITCO Systems Administration wrote:

> Alright,
>
> I have spent the better part of a day going through the list archives and I
> believe that I have configured FreeRadius correctly for using MySQL for
> authentication and accounting, however, I still get the following when trying
> to authenticate a user:
>
> rlm_sql: Pairs do not match [test1]
> rlm_sql: Released sql socket id: 3
>   modcall[authorize]: module "sql" returns notfound
> modcall: group authorize returns ok
> auth: No authenticate method (Auth-Type) configuration found for the request:
> Rejecting the user
> auth: Failed to validate the user.
>
> I have the following configured in MySQL table 'radcheck':
> +----+----------+---------------+-------+------+
> | id | UserName | Attribute     | Value | op   |
> +----+----------+---------------+-------+------+
> |  1 | test1    | User-Password | test1 | ==   |
> +----+----------+---------------+-------+------+
>

Try setting the operator to ':='. Otherwise the sql module will try to do a
comparison and fail.

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf


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

Reply via email to