<P>
Hi,<BR>
I am trying to do the authentication of users trying to REGISTER with the SER through freeradius.<BR>
However all the authentication request coming to the freeradius fails because there is no User-Password being sent by the SER.<BR>
I am presenting below my output of radiusd -X.<BR>
<BR>
I have searched a lot for this in the mailing list but so far not able to find out where the problem lies.<BR>
<BR>
I have configured the freeradius and the SER according to the Radius HOW TO document and have the user myuser in the users file of the radius.<BR>
<BR>
I will highly appriciate any guidance in this regards.<BR>
<BR>
Thnx in advance.<BR>
<BR>
Gagan<BR>
<BR>
---------------------Radiusd -X output --------------------------------<BR>
rad_recv: Access-Request packet from host 192.168.0.127:1677, id=37, length=268<BR>
&nbsp; &nbsp; &nbsp; &nbsp; User-Name = &quot;myuser@192.168.0.127&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Attributes = &quot;\n\010myuser&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Attributes = &quot;\001\017192.168.0.127&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Attributes = &quot;\002*41678a51d2fcd76cbd9549862c28ac3b8dec2e10&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Attributes = &quot;\004\023sip:192.168.0.127&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Attributes = &quot;\003\nREGISTER&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Response = &quot;9feae6633ef373fb17a808f6fbc2c9ef&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Service-Type = SIP<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Sip-URI-User = &quot;myuser&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Cisco-AVPair = &quot;call-id=1C19E4E150F94542A929598DBC3BC743@192.168.0.127&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; NAS-IP-Address = 192.168.0.127<BR>
&nbsp; &nbsp; &nbsp; &nbsp; NAS-Port = 5060<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  Processing the authorize section of radiusd.conf<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: modcall: entering group authorize for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling preprocess (rlm_preprocess) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from preprocess (rlm_preprocess) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;preprocess&quot; returns ok for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling chap (rlm_chap) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from chap (rlm_chap) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;chap&quot; returns noop for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling mschap (rlm_mschap) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from mschap (rlm_mschap) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;mschap&quot; returns noop for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling digest (rlm_digest) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp; &nbsp;  rlm_digest: Converting Digest-Attributes to something sane...<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-User-Name = &quot;myuser&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Realm = &quot;192.168.0.127&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Nonce = &quot;41678a51d2fcd76cbd9549862c28ac3b8dec2e10&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-URI = &quot;sip:192.168.0.127&quot;<BR>
&nbsp; &nbsp; &nbsp; &nbsp; Digest-Method = &quot;REGISTER&quot;<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: rlm_digest: Adding Auth-Type = DIGEST<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from digest (rlm_digest) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;digest&quot; returns ok for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling suffix (rlm_realm) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp; &nbsp;  rlm_realm: Looking up realm &quot;192.168.0.127&quot; for User-Name = &quot;myuser@192.168.0.127&quot;<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp; &nbsp;  rlm_realm: No such realm &quot;192.168.0.127&quot;<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from suffix (rlm_realm) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;suffix&quot; returns noop for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling eap (rlm_eap) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  rlm_eap: No EAP-Message, not doing EAP<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from eap (rlm_eap) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;eap&quot; returns noop for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: calling files (rlm_files) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp; &nbsp;  users: Matched DEFAULT at 152<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authorize]: returned from files (rlm_files) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authorize]: module &quot;files&quot; returns ok for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: modcall: group authorize returns ok for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  rad_check_password:&nbsp; Found Auth-Type DIGEST<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: auth: type &quot;digest&quot;<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  Processing the authenticate section of radiusd.conf<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: modcall: entering group authenticate for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authenticate]: calling digest (rlm_digest) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Auth: rlm_digest: Configuration item &quot;User-Password&quot; is required for authentication.Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modsingle[authenticate]: returned from digest (rlm_digest) for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug:&nbsp;  modcall[authenticate]: module &quot;digest&quot; returns invalid for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: modcall: group authenticate returns invalid for request 3<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Debug: auth: Failed to validate the user.<BR>
Sat Oct&nbsp; 9 15:12:41 2004 : Auth: Login incorrect: [myuser@192.168.0.127/&lt;no User-Password attribute&gt;] (from client linux0 port 5060)<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>