Hello, Alan.

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

AD>   No, you do not.

   I see it! Do you want to get log and my radiusd.conf?

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

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

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

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

AD> DEFAULT  Auth-Type := System
AD>          ...

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

AD>   Change that entry in the 'users' file to:

AD> DEFAULT  Auth-Type = System
AD>          ...


AD>   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!

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

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

Thanks for advise and patience!



-- 
With best regards
Pavel S. Shirshov      mailto:[EMAIL PROTECTED]


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

Reply via email to