I try to explain my questions clearly.
I have setup freeradius successfully,and now I can
receive accept packet by compiling configure
files,such as users,clients....
Later,I setup mysql successfully.I think
successfully,because I can load the database schema
and use sql commands.
Later,I modified my radiusd.conf as
"authorise {
        preprocess
        suffix  
        sql
}

authenticate {
        sql
}

preacct {       
        suffix
        preprocess
}

accounting {
        detail
        unix
        sql
        radutmp
}

session {
        radutmp
}

----------

"
what a pity.after I killed
radiusd,and run again in debug mode,it comes such
sentences:
"Can't connect to local MYSQL server through socket
'/var/lib/mysql/mysql.sock'
.....
radiusd.conf:"SQL" modules aren't allowed in
'authenticate' sections --they have no such method".

what's wrong?and I still remember in /etc/my.cnf,the
socket is defined as "tmp/mysql.sock".
why does it happen,and how to solve it?
Thanks anyway and bow



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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

Reply via email to