Hi, Remove the sql parameter fron the authenticate section of radiusd.conf
Atanu Das System Development SS NetCom Pvt Ltd. Dhankheti Shillong-793003 Ph: 91+361+502355 Visit us at: http://www.neline.com ----- Original Message ----- From: "Yu Zhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 1:23 PM Subject: freeradius+mysql questions please > 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html