Please, help!

I'm trying to migrate from version 0.8.1 to newest version 0.9.3.
I use SQL database for authorization, authentication and accounting
users (i.e. dialup users logins and passwords are hold in sql database).
How can I do that in new version? There is no "sql" authorize{} and
authenticate {} sections. And no "Auth-Type := SQL" in users file. And
no even queries for authenticate in sample sql.conf ...

When I try to use my old configs (with authorize and authenticate
queries in sql.conf) and such radiusd.conf:
------------------------------------
[skipped]
authorize {
        preprocess
        suffix
        files
        sql
}
[skipped]
authenticate {
        sql
}
[skipped]
accounting {
        detail
        sql
        radutmp
}
[skipped]

------------------------------------
, radiusd say 

"radiusd.conf: "SQL" modules aren't allowed in 'authenticate' sections
-- they have no such method."

Though when I comment out sql in authenticate section, radius is loading...
So I can use sql at least in authorization? I think I miss something... Now
I get password in Attribute/Value response via "authorize_reply_query".
But how can I tell radiusd to use sql to authorize user instead of
"Auth-Type := SQL"? Or now it should be one simple line in users file?:

------------------------------------
DEFAULT     
                Fall-Through = no
------------------------------------

Help, please!


-- 
Yours truly,
Oleg Polovinkin <[EMAIL PROTECTED]>


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

Reply via email to