<DIV>Hi Ricardo,</DIV>
<DIV>&nbsp;</DIV>
<DIV>We are using freeradius server 0.9.1 and SER 0.9.3. The version of radius client is radiusclient-ng-0.5.1.&nbsp;<STRONG>The users file in the radius server looks&nbsp;like as below:</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV><A href="mailto:test@sip2.zone">test@sip2.zone</A> Auth-Type := Digest, User-Password == "cisco1234"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reply-Message = "Authenticated",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Rpid = "1970"</DIV>
<DIV><A href="mailto:test@sip2.zone">test@sip2.zone</A> Auth-Type := Accept<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reply-Message = "Authorized",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Group == "ld"</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>The&nbsp;radius&nbsp;authentication and authorization parts in the ser.cfg file are given below:</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; if (uri=~"^sip:9[0-9]*@") {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="INVITE"){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!radius_www_authorize("")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>And finally the error is as below:</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV>Invalid operator for item Suffix: reverting to '=='<BR>&nbsp; modcall[authorize]: module "preprocess" returns ok<BR>&nbsp; modcall[authorize]: module "chap" returns noop<BR>&nbsp; rlm_eap: No EAP-Message, not doing EAP<BR>&nbsp; modcall[authorize]: module "eap" returns noop<BR>&nbsp;&nbsp;&nbsp; rlm_digest: Converting Digest-Attributes to something sane...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-User-Name = "test"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-Realm = "sip2.zone"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-Nonce = "42de75b2e9e39194a286e8ccd284646ffa14bcc2"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-URI = "sip:94161000@sip2.zone"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-Method = "INVITE"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-QOP = "auth"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-Nonce-Count = "0000000a"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-CNonce =
 "753F926DB8F5415D8D56EE7816410E33"<BR>rlm_digest: Adding Auth-Type = DIGEST<BR>&nbsp; modcall[authorize]: module "digest" returns ok<BR>&nbsp;&nbsp;&nbsp; rlm_realm: Looking up realm "sip2.zone" for User-Name = "<A href="mailto:test@sip2.zone">test@sip2.zone</A>"<BR>&nbsp;&nbsp;&nbsp; rlm_realm: No such realm "sip2.zone"<BR>&nbsp; modcall[authorize]: module "suffix" returns noop<BR>&nbsp;&nbsp;&nbsp; users: Matched entry <A href="mailto:test@sip2.zone">test@sip2.zone</A> at line 226<BR>&nbsp; modcall[authorize]: module "files" returns ok<BR>&nbsp; modcall[authorize]: module "mschap" returns noop<BR>modcall: group authorize returns ok<BR>&nbsp; rad_check_password:&nbsp; Found Auth-Type Digest<BR>auth: type "digest"<BR>modcall: entering group authenticate<BR>A1 = test:sip2.zone:cisco1234<BR>A2 = INVITE:sip:94161000@sip2.zone<BR>KD = 53d3b82970bada131a062103f553b8b8:42de75b2e9e39194a286e8ccd284646ffa14bcc2:0000000a:753F926DB8F5415D8D56EE7816410E33:auth:18227b358ffe96049a3745eeb449fae2
 <BR>&nbsp; modcall[authenticate]: module "digest" returns ok<BR>modcall: group authenticate returns ok<BR>radius_xlat:&nbsp; 'Authenticated'<BR>Login OK: [test@sip2.zone/&lt;no User-Password attribute&gt;] (from client proxy port 5060)<BR>Sending Access-Accept of id 203 to 192.168.2.1:32831<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reply-Message = "Authenticated"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Rpid = "1970"<BR>Finished request 6<BR>Going to the next request<BR>--- Walking the entire request list ---<BR>Waking up in 6 seconds...<BR>rad_recv: Access-Request packet from host 192.168.2.1:32831, id=204, length=53<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = "test"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Group = "ld"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service-Type = Group-Check<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = 192.168.2.1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port = 0<BR>modcall: entering
 group authorize<BR>Invalid operator for item Suffix: reverting to '=='<BR>Invalid operator for item Suffix: reverting to '=='<BR>Invalid operator for item Suffix: reverting to '=='<BR>&nbsp; modcall[authorize]: module "preprocess" returns ok<BR>&nbsp; modcall[authorize]: module "chap" returns noop<BR>&nbsp; rlm_eap: No EAP-Message, not doing EAP<BR>&nbsp; modcall[authorize]: module "eap" returns noop<BR>&nbsp; modcall[authorize]: module "digest" returns noop<BR>&nbsp;&nbsp;&nbsp; rlm_realm: No <A href="mailto:'@'">'@'</A> in User-Name = "test", looking up realm NULL<BR>&nbsp;&nbsp;&nbsp; rlm_realm: No such realm "NULL"<BR>&nbsp; modcall[authorize]: module "suffix" returns noop<BR>&nbsp; modcall[authorize]: module "files" returns notfound<BR>&nbsp; modcall[authorize]: module "mschap" returns noop<BR>modcall: group authorize returns ok<BR><STRONG>auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user<BR>auth: Failed to validate the
 user.<BR></STRONG>Login incorrect: [test/&lt;no User-Password attribute&gt;] (from client proxy port 0)<BR>Delaying request 7 for 1 seconds<BR>Finished request 7<BR>Going to the next request<BR>Waking up in 6 seconds...</DIV>
<DIV>&nbsp;</DIV>
<DIV>As you can see from the above configuration, the authentication works perfect, its only in the authorization where it fails. Also can you please let me know about the accounting configuration??</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot..</DIV>
<DIV>Naresh</DIV>
<DIV><BR><BR><B><I>Ricardo Martinez &lt;rmartinez@redvoiss.net&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<DIV><SPAN class=348242215-20072005><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Hello Naresh</FONT></SPAN></DIV>
<DIV><SPAN class=348242215-20072005><FONT face="Lucida Sans Unicode" color=#0000ff size=2>I have authentication, authorization and accounting (AAA) through radius working fine.&nbsp; What radius server are you using?, can you send us more information about the configuration?</FONT></SPAN></DIV>
<DIV><SPAN class=348242215-20072005><FONT face="Lucida Sans Unicode" color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=348242215-20072005><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=348242215-20072005><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Ricardo.-</FONT></SPAN></DIV>
<DIV><FONT face="Lucida Sans Unicode" color=#0000ff size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Mensaje original-----<BR><B>De:</B> Naresh Parmar [mailto:naresh_parmar14@yahoo.com]<BR><B>Enviado el:</B> Miércoles, 20 de Julio de 2005 10:37<BR><B>Para:</B> serusers@lists.iptel.org<BR><B>Asunto:</B> [Serusers] Problem authorizing with radius<BR><BR></FONT></DIV>
<DIV>hi friends,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am having problems while authorizing with the radius server. I am using the same configuration as mentioned in the radius-howto. Authentication works perfect as I am able to authenticate using the radius server. However while authorizing against the radius server to make a call I get the following error:</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>auth: No authenticate method (Auth-Type) configuration found for the user<BR>request: Rejecting the user<BR>auth: Failed to validate the user.<BR>Delaying request 2 for 1 seconds<BR>Finished request 2</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>When I authorize against the mysql database, it works fine. Any clue???</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Regards,</DIV>
<DIV>Naresh</DIV>
<DIV><BR>&nbsp;</DIV>
<P>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com </P></BLOCKQUOTE></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com