<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 "auth: No User-Password or CHAP-Password attribute in the request"<BR>
<BR>
digest file content is:<BR>
-----<BR>
User-Name = "test", Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7", <BR>
Digest-Realm = "testrealm", Digest-Nonce = "1234abcd" , <BR>
Digest-Method = "INVITE", Digest-URI = "sip:5555551212@example.com", <BR>
Digest-Algorithm = "MD5", Digest-User-Name = "test"<BR>
-----<BR>
<BR>
if change the field "Digest-Nonce" to "User-Password" then it is authenticating, I think there is some problem in dictionary, but it is working fine with out mysql 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>
><BR>
>Hello Everyone.<BR>
><BR>
>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>
><BR>
>I have given the following entry in radroupcheck table.<BR>
><BR>
>dynamic Auth-Type := Digest<BR>
><BR>
>table raddcheck values:<BR>
>jeeth Password == jeeth<BR>
><BR>
><BR>
>I dont know where i am doing mistake.<BR>
><BR>
>Hope some one might have come across this, Please send some tips on configuring SER , freeradius with mysql support.<BR>
><BR>
>Thanks in advance<BR>
>----------------------<BR>
>rad_recv: Access-Request packet from host 127.0.0.1:32903, id=78, length=141<BR>
> User-Name = "jeeth@localhost"<BR>
> Digest-Response = "631d6d73147add2f9e437f59bbc3aeb7"<BR>
> Digest-Attributes = "\001\013testrealm"<BR>
> Digest-Attributes = "\002\007jeeth"<BR>
> Digest-Attributes = "\003\010INVITE"<BR>
> Digest-Attributes = "\004\025sip:jeeth@localhost"<BR>
> Digest-Attributes = "\006\005MD5"<BR>
> Digest-Attributes = "\n\006test"<BR>
>modcall: entering group authorize for request 25<BR>
> modcall[authorize]: module "preprocess" returns ok for request 25<BR>
> modcall[authorize]: module "chap" returns noop for request 25<BR>
> modcall[authorize]: module "mschap" returns noop for request 25<BR>
> rlm_realm: Looking up realm "localhost" for User-Name = "jeeth@localhost"<BR>
> rlm_realm: Found realm "DEFAULT"<BR>
> rlm_realm: Adding Stripped-User-Name = "jeeth"<BR>
> rlm_realm: Proxying request from user jeeth to realm DEFAULT<BR>
> rlm_realm: Adding Realm = "DEFAULT"<BR>
> rlm_realm: Authentication realm is LOCAL.<BR>
> modcall[authorize]: module "suffix" returns noop for request 25<BR>
>radius_xlat: 'jeeth'<BR>
>rlm_sql (sql): sql_set_user escaped user --> 'jeeth'<BR>
>radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = 'jeeth' ORDER BY id'<BR>
>rlm_sql (sql): Reserving sql socket id: 4<BR>
>radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'<BR>
>radius_xlat: 'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = 'jeeth' ORDER BY id'<BR>
>radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'jeeth' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'<BR>
>rlm_sql (sql): Released sql socket id: 4<BR>
> modcall[authorize]: module "sql" returns ok for request 25<BR>
>modcall: group authorize returns ok for request 25<BR>
>auth: type Local<BR>
>auth: No User-Password or CHAP-Password attribute in the request<BR>
>auth: Failed to validate the user.<BR>
>------<BR>
><BR>
>_______________________________________________<BR>
>Serusers mailing list<BR>
>serusers@lists.iptel.org<BR>
>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>