<br><br><div class="gmail_quote">On Tue, Jun 9, 2009 at 5:10 PM, Goke Aruna <span dir="ltr"><<a href="mailto:goksie@gmail.com">goksie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Alan DeKok wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Goke Aruna wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I will be glad, if anyone can direct me to whare The log below is the<br>
part of the debug for the new test freeradius server 2.1.6 am testing with.<br>
<br>
However, the hotspotlogin,cgi is able to pass the param username to the<br>
radius<br>
</blockquote>
<br>
It's not in the debug log below.<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
rad_recv: Access-Request packet from host 127.0.0.1 port 44600, id=0,<br>
length=189<br>
</blockquote>
<br>
... there's no User-Name attribute. The packet violates the RADIUS<br>
specifications. Yet, somehow, magically:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tue Jun 9 14:59:48 2009 : Info: [suffix] No '@' in User-Name =<br>
</blockquote>
"2345678901", looking up realm NULL<br>
<br>
There's a User-Name in the packet! How did that happen?<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tue Jun 9 14:59:48 2009 : Info: [sql] expand: %{User-Name} -><br>
0x32333435363738393031<br>
</blockquote>
<br>
And now the User-Name is different!<br>
<br>
You've managed to copy the Chillispot-Max-Input-Octets into the<br>
User-Name. Why?<br>
<br>
It looks like you've edited the dictionaries without knowing what<br>
you're doing. Don't do that.<br>
<br>
Alan DeKok.<br>
<br>
</blockquote>
<br></div></div>
after commenting out the include directive for dictionary.chillispot from the radius dictionary file, i am able to login but my check-item which is attribute Max-Secs-Passed was not loaded.<br>
<br>
<br>
Thanks but I still need to do the billing based on the added attributes.<br>
</blockquote></div><br><br>I still need your advice on how to go about adding my own attributes to the dictionary file and also what I have done wrong in including the dictionary.chillispot<br><br>Thanks.<br><br>goksie<br>