hi,<br> I am using free radius server 2.0 and Ms Sql 2000, I want to used my customized tables which contains only username and password.I've tried modyfying the query in dialup.conf, but it doesn't work. Please tell me the solution.<br>
<br>here is the piece of output after rejecting the user that is stored in the database<br><br>rad_recv: Access-Request packet from host <a href="http://127.0.0.1">127.0.0.1</a> port 32807, id=226, length=56<br> User-Name = "John"<br>
User-Password = "1"<br> NAS-IP-Address = <a href="http://192.168.2.227">192.168.2.227</a><br> NAS-Port = 0<br>+- entering group authorize<br>++[preprocess] returns ok<br>++[chap] returns noop<br>
++[mschap] returns noop<br> rlm_realm: No '@' in User-Name = "John", looking up realm NULL<br> rlm_realm: No such realm "NULL"<br>++[suffix] returns noop<br> rlm_eap: No EAP-Message, not doing EAP<br>
++[eap] returns noop<br>++[unix] returns notfound<br>++[files] returns noop<br> expand: %{User-Name} -> John<br>rlm_sql (sql): sql_set_user escaped user --> 'John'<br>rlm_sql (sql): Reserving sql socket id: 3<br>
expand: SELECT UserName,Value FROM checking WHERE Username = '%{SQL-User-Name}' -> SELECT UserName,Value FROM checking WHERE Username = 'John'<br>query: SELECT UserName,Value FROM checking WHERE Username = 'John'<br>
rlm_sql_getvpdata: database query error<br>rlm_sql (sql): SQL query error; rejecting user<br>rlm_sql (sql): Released sql socket id: 3<br>++[sql] returns fail<br>Invalid user: [John/1] (from client localhost port 0)<br> Found Post-Auth-Type Reject<br>
+- entering group REJECT<br> expand: %{User-Name} -> John<br> attr_filter: Matched entry DEFAULT at line 11<br>++[attr_filter.access_reject] returns updated<br>Delaying reject of request 1 for 1 seconds<br>Going to the next request<br>
Waking up in 0.9 seconds.<br>Sending delayed reject for request 1<br>Sending Access-Reject of id 226 to <a href="http://127.0.0.1">127.0.0.1</a> port 32807<br>Waking up in 4.9 seconds.<br>Cleaning up request 1 ID 226 with timestamp +17<br>
Ready to process requests.<br><br>Regards<br>Elangbam Johnson<br><br>