Fredrik Reite <[EMAIL PROTECTED]> wrote:
> I'm trying to configure freeradius to check the users file at authorization
> stage
>
> **users file**
> DEFAULT Auth-Type := System
...
> And then lookup the password using the SQL module.
That's not what you told it to do. 'System' authenticaiton is
/etc/password, not SQL. If you did:
DEFAULT Auth-Type := SQL
Then that would do SQL authentication.
> But when i change name in rlm_sql.c's module_t structure to 'System'
> instead of 'SQL' everything works like i want. Why doesn't freeradius run
> the authentication module if it's not named 'System'?
The Auth-Type attribute tells the server WHERE to look up the
password. You can have some users authenticated via SQL, and others
authenticated via /etc/password, and even others via ldap.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html