This is what the freeradius debug looks like when i try to authenticate a user who is not valid.<br><br>I dont get an Access-Reject. But for valid users the function works fine.<br><br>radius_xlat: 'SELECT id,username,attribute,value,op FROM tryagain('7140949870','0000') ????as (id integer,username varchar,attribute varchar,value varchar,op character)'<br>
rlm_sql (sql): Reserving sql socket id: 1<br>rlm_sql_postgresql: query: SELECT id,username,attribute,value,op FROM tryagain('7140949870','0000') ????as (id integer,username varchar,attribute varchar,value varchar,op character)<br>
rlm_sql_postgresql: Status: PGRES_TUPLES_OK<br>rlm_sql_postgresql: affected rows = <br>rlm_sql: The 'Attribute' field is empty or NULL, skipping the entire row.<br>rlm_sql (sql): Error getting data from database<br>
rlm_sql (sql): SQL query error; rejecting user<br>rlm_sql (sql): Released sql socket id: 1<br> modcall[authorize]: module "sql" returns fail for request 3<br>modcall: leaving group authorize (returns fail) for request 3<br>
Finished request 3<br><br><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 5:41 PM, Alan Buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<div class="im"><br>
> If i try to authenticate a user who is not valid i do not get an<br>
> Access-Reject but rather<br>
> i get<br>
</div>> RADIUS: Retransmit to ([1]<a href="http://192.168.1.12:1812" target="_blank">192.168.1.12:1812</a>,1813) for id 1645/201<br>
> RADIUS: Retransmit to ([2]<a href="http://192.168.1.12:1812" target="_blank">192.168.1.12:1812</a>,1813) for id 1645/201<br>
> RADIUS: Retransmit to ([3]<a href="http://192.168.1.12:1812" target="_blank">192.168.1.12:1812</a>,1813) for id 1645/201<br>
> RADIUS: No response from ([4]<a href="http://192.168.1.12:1812" target="_blank">192.168.1.12:1812</a>,1813) for id 1645/201<br>
<div class="im">> RADIUS/DECODE: No response from radius-server; parse response; FAIL<br>
> RADIUS/DECODE: Case error(no response/ bad packet/ op decode);parse<br>
> response; FAIL<br>
<br>
</div>its falling through to sending it off to another server/process - what<br>
is 192.168.1.12 - check your proxy.conf - and look at the full debug output<br>
of 'radiusd -X' (which you seem to be trying to summarise) - it'll tell<br>
you why its doing what it does<br>
<font color="#888888"><br>
alan<br>
</font><div><div></div><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br>