Pavel Shirshov <[EMAIL PROTECTED]> wrote:
> I read, but if i'm removing 'files' from authorize section, i get
> 'User-Accept' from sql module!

  No, you do not.

  The SQL module does not authenticate the user.  It tells the next
stage HOW to authenticate the user.

>  If back files to authorize section - again "Accept-Reject"!

  Yes, because you put 'files' after 'sql' in the 'authorize'
section.

  One of the entries in the 'users' file is:

DEFAULT  Auth-Type := System
         ...

  So any 'Auth-Type' set by the SQL module will be thrown away by this
entry.

  Change that entry in the 'users' file to:

DEFAULT  Auth-Type = System
         ...


  And the server will also authenticate when using the 'files' module.

> Shall i must to do, for authentication from sql base, and then if user
> not found in base, authentication from users file!

  Authentication is NOT done by the SQL module.  Authentication is NOT
done by the 'users' file.

  Please read 'doc/rlm_sql' in the latest CVS snapshot.

  Alan DeKok.

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

Reply via email to