<P>
Hello,<BR>
<BR>
I have identified the problem.<BR>
<BR>
When i use the following digest then it is giving me the error message saying&nbsp; &quot;auth: No User-Password or CHAP-Password attribute in the request&quot;<BR>
<BR>
digest file content is:<BR>
-----<BR>
 User-Name = &quot;test&quot;, Digest-Response = &quot;631d6d73147add2f9e437f59bbc3aeb7&quot;, <BR>
Digest-Realm = &quot;testrealm&quot;, Digest-Nonce = &quot;1234abcd&quot; , <BR>
Digest-Method = &quot;INVITE&quot;, Digest-URI = &quot;sip:5555551212@example.com&quot;, <BR>
Digest-Algorithm = &quot;MD5&quot;, Digest-User-Name = &quot;test&quot;<BR>
-----<BR>
<BR>
if change the field &quot;Digest-Nonce&quot; to &quot;User-Password&quot; then it is authenticating, I think there is some problem in dictionary, but it is working fine with out mysql&nbsp; option ( if i use users file insted mysql). <BR>
<BR>
Any one got idea where could be the problem<BR>
<BR>
thanks in advance<BR>
<BR>
jeeth<BR>
<BR>
On Sun, 04 Apr 2004 Jithender Reddy A wrote :<BR>
&gt;<BR>
&gt;Hello Everyone.<BR>
&gt;<BR>
&gt;I am trying to configure my SER with freeradius and i followed the document which is available at iptel.org.doc and everything works fine. Now i want to port freeradius to mysql and i have made changces according the tips provided at http://www.frontios.com/freeradius.html , after that freeradius has stated the problems it is working fine with radtest but it is giving problem when i try to run radclient with digest option. here i am giving the radius dump<BR>
&gt;<BR>
&gt;I have given the following entry in radroupcheck table.<BR>
&gt;<BR>
&gt;dynamic Auth-Type := Digest<BR>
&gt;<BR>
&gt;table raddcheck values:<BR>
&gt;jeeth Password == jeeth<BR>
&gt;<BR>
&gt;<BR>
&gt;I dont know where i am doing mistake.<BR>
&gt;<BR>
&gt;Hope some one might have come across this, Please send some tips on configuring SER , freeradius with mysql support.<BR>
&gt;<BR>
&gt;Thanks in advance<BR>
&gt;----------------------<BR>
&gt;rad_recv: Access-Request packet from host 127.0.0.1:32903, id=78, length=141<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  User-Name = &quot;jeeth@localhost&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Response = &quot;631d6d73147add2f9e437f59bbc3aeb7&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Attributes = &quot;\001\013testrealm&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Attributes = &quot;\002\007jeeth&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Attributes = &quot;\003\010INVITE&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Attributes = &quot;\004\025sip:jeeth@localhost&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Attributes = &quot;\006\005MD5&quot;<BR>
&gt;&nbsp; &nbsp; &nbsp; &nbsp;  Digest-Attributes = &quot;\n\006test&quot;<BR>
&gt;modcall: entering group authorize for request 25<BR>
&gt;&nbsp;  modcall[authorize]: module &quot;preprocess&quot; returns ok for request 25<BR>
&gt;&nbsp;  modcall[authorize]: module &quot;chap&quot; returns noop for request 25<BR>
&gt;&nbsp;  modcall[authorize]: module &quot;mschap&quot; returns noop for request 25<BR>
&gt;&nbsp; &nbsp;  rlm_realm: Looking up realm &quot;localhost&quot; for User-Name = &quot;jeeth@localhost&quot;<BR>
&gt;&nbsp; &nbsp;  rlm_realm: Found realm &quot;DEFAULT&quot;<BR>
&gt;&nbsp; &nbsp;  rlm_realm: Adding Stripped-User-Name = &quot;jeeth&quot;<BR>
&gt;&nbsp; &nbsp;  rlm_realm: Proxying request from user jeeth to realm DEFAULT<BR>
&gt;&nbsp; &nbsp;  rlm_realm: Adding Realm = &quot;DEFAULT&quot;<BR>
&gt;&nbsp; &nbsp;  rlm_realm: Authentication realm is LOCAL.<BR>
&gt;&nbsp;  modcall[authorize]: module &quot;suffix&quot; returns noop for request 25<BR>
&gt;radius_xlat:&nbsp; 'jeeth'<BR>
&gt;rlm_sql (sql): sql_set_user escaped user --&gt; 'jeeth'<BR>
&gt;radius_xlat:&nbsp; 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'jeeth' ORDER BY id'<BR>
&gt;rlm_sql (sql): Reserving sql socket id: 4<BR>
&gt;radius_xlat:&nbsp; 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op&nbsp; FROM radgroupcheck,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'<BR>
&gt;radius_xlat:&nbsp; 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = 'jeeth' ORDER BY id'<BR>
&gt;radius_xlat:&nbsp; 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op&nbsp; FROM radgroupreply,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'<BR>
&gt;rlm_sql (sql): Released sql socket id: 4<BR>
&gt;&nbsp;  modcall[authorize]: module &quot;sql&quot; returns ok for request 25<BR>
&gt;modcall: group authorize returns ok for request 25<BR>
&gt;auth: type Local<BR>
&gt;auth: No User-Password or CHAP-Password attribute in the request<BR>
&gt;auth: Failed to validate the user.<BR>
&gt;------<BR>
&gt;<BR>
&gt;_______________________________________________<BR>
&gt;Serusers mailing list<BR>
&gt;serusers@lists.iptel.org<BR>
&gt;http://mail.iptel.org/mailman/listinfo/serusers<BR>

</P>


<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>