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 'System'
authentication into SQL authentication.  That's REALLY not what you
want.

  If you want to do SQL authentication, you should use 'Auth-Type := SQL' 
in the 'users' file.

  If you want to authenticate agains /etc/passwd, THEN you use
'Auth-Type := System'.

  Alan DeKok.

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

Reply via email to