Here is the entry from my radius.conf<br>
<br>
authenticate {<br>
Auth-Type PAP {<br>
pap<br>
}<br>
Auth-Type CHAP {<br>
chap<br>
}<br>
}<br>
<br>
<br>
#<br>
# Pre-accounting. Decide which accounting type to use.<br>
#<br>
preacct {<br>
preprocess<br>
acct_unique<br>
suffix<br>
#files<br>
}<br>
<br>
#<br>
# Accounting. Log the accounting data.<br>
#<br>
accounting {<br>
acct_unique<br>
detail<br>
unix<br>
sql<br>
radutmp<br>
sql<br>
}<br>
<br>
<br>
# Session database, used for checking Simultaneous-Use. Either the radutmp <br>
# or rlm_sql module can handle this.<br>
# The rlm_sql module is *much* faster<br>
session {<br>
radutmp<br>
sql<br>
}<br>
<br>
<br>
# Post-Authentication<br>
# Once we KNOW that the user has been authenticated, there are<br>
# additional steps we can take.<br>
post-auth {<br>
sql<br>
}<br>
}<br><br>
Do I just add sql to the authincate like so?<br>
authenticate {<br>
Auth-Type PAP {<br>
pap<br>
}<br>
Auth-Type CHAP {<br>
chap<br>
}<br>
sql <-------<br>
}<br>
<br>
Thanks,<br>
<br><div><span class="gmail_quote">On 1/10/06, <b class="gmail_sendername">Dennis Skinner</b> <<a href="mailto:dskinner@bluefrog.com">dskinner@bluefrog.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jonathan Carpenter wrote:<br>> Config: including file: /etc/raddb/sql.conf<br><br>That's good.<br><br>> rad_recv: Access-Request packet from host <a href="http://127.0.0.1:32784">127.0.0.1:32784</a><br>> <<a href="http://127.0.0.1:32784">
http://127.0.0.1:32784</a>>, id=125, length=58<br>> User-Name = "scooby"<br>> User-Password = "scooby"<br>> NAS-IP-Address = <a href="http://255.255.255.255">255.255.255.255
</a> <<a href="http://255.255.255.255">http://255.255.255.255</a>><br>> NAS-Port = 10<br>> rad_lowerpair: User-Name now 'scooby'<br>> rad_rmspace_pair: User-Name now 'scooby'<br>> rad_rmspace_pair: User-Password now 'scooby'
<br>> auth: No authenticate method (Auth-Type) configuration found for the<br>> request: Rejecting the user<br>> auth: Failed to validate the user.<br>> Login incorrect: [scooby/scooby] (from client localhost port 10)
<br><br>So, looks like it has all that info about how to login to your MySQL<br>server and what queries to use, but you never told it to actually use it.<br><br>Hint: look at the authorize section towards the bottom of your
<br>radius.conf. There should be a line like:<br><br># sql<br><br>Uncomment it.<br><br>--<br>Dennis Skinner<br>Systems Administrator<br>BlueFrog Internet<br><a href="http://www.bluefrog.com">http://www.bluefrog.com</a><br>
-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br><br clear="all"><br>-- <br>Jonathan Carpenter<br>Linux System Administrator
<br>Windows System Administrator<br><The Unix Geek>