<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV>&gt;auth: No authenticate method (Auth-Type) configuration found for the 
request: Rejecting the user<BR>&gt;auth: Failed to validate the user.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This is where it fails. SER does not send Auth-Type, freeRadius is 
configured to require an Auth-Type. I don't know how you change that, I don't 
use freeRadius.</DIV>
<DIV>g-)<BR><BR>---- Original Message ----<BR>From: Naresh Parmar<BR>To: Ricardo 
Martinez ; serusers@lists.iptel.org<BR>Sent: Wednesday, July 20, 2005 07:09 
PM<BR>Subject: RE: [Serusers] Problem authorizing with radius<BR><BR>&gt; Hi 
Ricardo,<BR>&gt; <BR>&gt; Tried it. It still gives me the same error. Please let 
me know the<BR>&gt; version of the radius server you are using.?? Also can you 
please let<BR>&gt; me know wht did u do to make the accounting work...??&nbsp; 
<BR>&gt; <BR>&gt; Best Regards,<BR>&gt; Naresh<BR>&gt; <BR>&gt; Ricardo Martinez 
&lt;rmartinez@redvoiss.net&gt; wrote:<BR>&gt; Hello 
Naresh.<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I guess there is an error in the way you 
call the authorization<BR>&gt; for the INVITE.&nbsp; As far as i know for the 
REGISTER message<BR>&gt; (authentication) you need the statement :&nbsp; 
<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; radius_www_authorize<BR>&gt; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; But for the INVITE you need to call 
"radius_proxy_authorize". <BR>&gt; This is what i have in my ser.cfg <BR>&gt; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (method=="INVITE") {<BR>&gt; 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (!radius_proxy_authorize("")) 
{<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
proxy_challenge("","1");<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<BR>&gt; <BR>&gt; 
maybe you can try this and tell me how it works.<BR>&gt; <BR>&gt; Good 
luck<BR>&gt; <BR>&gt; Ricardo Martinez.-<BR>&gt; <BR>&gt; -----Mensaje 
original-----<BR>&gt; De: Naresh Parmar 
[mailto:naresh_parmar14@yahoo.com]<BR>&gt; Enviado el: Miércoles, 20 de Julio de 
2005 12:10<BR>&gt; Para: Ricardo Martinez; serusers@lists.iptel.org<BR>&gt; Asunto: 
RE: [Serusers] Problem authorizing with radius<BR>&gt; <BR>&gt; <BR>&gt; Hi 
Ricardo,<BR>&gt; <BR>&gt; We are using freeradius server 0.9.1 and SER 0.9.3. 
The version of<BR>&gt; radius client is radiusclient-ng-0.5.1. The users file in 
the radius<BR>&gt; server looks like as below:&nbsp; <BR>&gt; <BR>&gt; 
test@sip2.zone Auth-Type := Digest, User-Password == 
"cisco1234"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Reply-Message = 
"Authenticated",<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Sip-Rpid = "1970"<BR>&gt; test@sip2.zone Auth-Type := 
Accept<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reply-Message = 
"Authorized",<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Group 
== "ld"<BR>&gt; <BR>&gt; The radius authentication and authorization parts in 
the ser.cfg file<BR>&gt; are given below: <BR>&gt; <BR>&gt;&nbsp;&nbsp; if 
(uri=~"^sip:9[0-9]*@") 
{<BR>&gt;&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 
(method=="INVITE"){<BR>&gt;&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; 
if (!radius_www_authorize("")) 
{<BR>&gt;&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;&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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; 
};<BR>&gt;&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>&gt;&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>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&gt; <BR>&gt; <BR>&gt; And finally the error is as below:<BR>&gt; <BR>&gt; 
Invalid operator for item Suffix: reverting to '=='<BR>&gt;&nbsp;&nbsp; 
modcall[authorize]: module "preprocess" returns ok<BR>&gt;&nbsp;&nbsp; 
modcall[authorize]: module "chap" returns noop<BR>&gt;&nbsp;&nbsp; rlm_eap: No 
EAP-Message, not doing EAP<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "eap" 
returns noop<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; rlm_digest: Converting 
Digest-Attributes to something 
sane...<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-User-Name 
= "test"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-Realm = 
"sip2.zone"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-Nonce 

"42de75b2e9e39194a286e8ccd284646ffa14bcc2"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Digest-URI = 
"sip:94161000@sip2.zone"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Digest-Method = "INVITE"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Digest-QOP = "auth"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Digest-Nonce-Count = 
"0000000a"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Digest-CNonce 
= "753F926DB8F5415D8D56EE7816410E33"<BR>&gt; rlm_digest: Adding Auth-Type = 
DIGEST<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "digest" returns 
ok<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; rlm_realm: Looking up realm "sip2.zone" for 
User-Name =<BR>&gt; "test@sip2.zone" <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; rlm_realm: 
No such realm "sip2.zone"<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module 
"suffix" returns noop<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; users: Matched entry 
test@sip2.zone at line 226<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module 
"files" returns ok<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "mschap" 
returns noop<BR>&gt; modcall: group authorize returns ok<BR>&gt;&nbsp;&nbsp; 
rad_check_password:&nbsp; Found Auth-Type Digest<BR>&gt; auth: type 
"digest"<BR>&gt; modcall: entering group authenticate<BR>&gt; A1 = 
test:sip2.zone:cisco1234<BR>&gt; A2 = INVITE:sip:94161000@sip2.zone<BR>&gt; KD 
=<BR>&gt; 
53d3b82970bada131a062103f553b8b8:42de75b2e9e39194a286e8ccd284646ffa14bcc2:0000000a:753F926DB8F5415D8D56EE7816410E33:auth:18227b358ffe96049a3745eeb<BR>&gt; 
449fae2&nbsp; <BR>&gt;&nbsp;&nbsp; modcall[authenticate]: module "digest" 
returns ok<BR>&gt; modcall: group authenticate returns ok<BR>&gt; 
radius_xlat:&nbsp; 'Authenticated'<BR>&gt; Login OK: [test@sip2.zone/&lt;no 
User-Password attribute&gt;] (from client<BR>&gt; proxy port 5060) <BR>&gt; 
Sending Access-Accept of id 203 to 
192.168.2.1:32831<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Reply-Message = 
"Authenticated"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Rpid 
= "1970"<BR>&gt; Finished request 6<BR>&gt; Going to the next request<BR>&gt; 
--- Walking the entire request list ---<BR>&gt; Waking up in 6 
seconds...<BR>&gt; rad_recv: Access-Request packet from host 192.168.2.1:32831, 
id=204,<BR>&gt; length=53 
<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = 
"test"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sip-Group = 
"ld"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service-Type = 
Group-Check<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NAS-IP-Address = 
192.168.2.1<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-Port = 
0<BR>&gt; modcall: ent ering group authorize<BR>&gt; Invalid operator for item 
Suffix: reverting to '=='<BR>&gt; Invalid operator for item Suffix: reverting to 
'=='<BR>&gt; Invalid operator for item Suffix: reverting to 
'=='<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "preprocess" returns 
ok<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "chap" returns 
noop<BR>&gt;&nbsp;&nbsp; rlm_eap: No EAP-Message, not doing 
EAP<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "eap" returns 
noop<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "digest" returns 
noop<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; rlm_realm: No '@' in User-Name = "test", 
looking up realm NULL<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; rlm_realm: No such realm 
"NULL"<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "suffix" returns 
noop<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "files" returns 
notfound<BR>&gt;&nbsp;&nbsp; modcall[authorize]: module "mschap" returns 
noop<BR>&gt; modcall: group authorize returns ok<BR>&gt; auth: No authenticate 
method (Auth-Type) configuration found for the<BR>&gt; request: Rejecting the 
user <BR>&gt; auth: Failed to validate the user.<BR>&gt; Login incorrect: 
[test/&lt;no User-Password attribute&gt;] (from client<BR>&gt; proxy port 0) 
<BR>&gt; Delaying request 7 for 1 seconds<BR>&gt; Finished request 7<BR>&gt; 
Going to the next request<BR>&gt; Waking up in 6 seconds...<BR>&gt; <BR>&gt; As 
you can see from the above configuration, the authentication works<BR>&gt; 
perfect, its only in the authorization where it fails. Also can you<BR>&gt; 
please let me know about the accounting configuration??&nbsp; <BR>&gt; <BR>&gt; 
Thanks a lot..<BR>&gt; Naresh<BR>&gt; <BR>&gt; <BR>&gt; Ricardo Martinez 
&lt;rmartinez@redvoiss.net&gt; wrote:<BR>&gt; Hello Naresh<BR>&gt; I have 
authentication, authorization and accounting (AAA) through<BR>&gt; radius 
working fine.&nbsp; What radius server are you using?, can you send<BR>&gt; us 
more information about the configuration?&nbsp; <BR>&gt; <BR>&gt; 
Cheers,<BR>&gt; Ricardo.-<BR>&gt; <BR>&gt; -----Mensaje original-----<BR>&gt; 
De: Naresh Parmar [mailto:naresh_parmar14@yahoo.com]<BR>&gt; Enviado el: 
Miércoles, 20 de Julio de 2005 10:37<BR>&gt; Para: serusers@lists.iptel.org<BR>&gt; 
Asunto: [Serusers] Problem authorizing with radius<BR>&gt; <BR>&gt; <BR>&gt; hi 
friends,<BR>&gt; <BR>&gt; I am having problems while authorizing with the radius 
server. I am<BR>&gt; using the same configuration as mentioned in the 
radius-howto.<BR>&gt; Authentication works perfect as I am able to authenticate 
using the<BR>&gt; radius server. However while authorizing against the radius 
server to<BR>&gt; make a call I get the following error:&nbsp;&nbsp;&nbsp; 
<BR>&gt; <BR>&gt; auth: No authenticate method (Auth-Type) configuration found 
for the<BR>&gt; user <BR>&gt; request: Rejecting the user<BR>&gt; auth: Failed 
to validate the user.<BR>&gt; Delaying request 2 for 1 seconds<BR>&gt; Finished 
request 2<BR>&gt; <BR>&gt; When I authorize against the mysql database, it works 
fine. Any<BR>&gt; clue??? <BR>&gt; <BR>&gt; Best Regards,<BR>&gt; Naresh<BR>&gt; 
<BR>&gt; <BR>&gt; __________________________________________________<BR>&gt; Do 
You Yahoo!?<BR>&gt; Tired of spam? Yahoo! Mail has the best spam protection 
around<BR>&gt; http://mail.yahoo.com<BR>&gt; 
__________________________________________________<BR>&gt; Do You 
Yahoo!?<BR>&gt; Tired of spam? Yahoo! Mail has the best spam protection 
around<BR>&gt; http://mail.yahoo.com<BR>&gt; <BR>&gt; <BR>&gt; Start your day 
with Yahoo! - make it your home page<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; Serusers mailing 
list<BR>&gt; serusers@lists.iptel.org<BR>&gt; 
http://lists.iptel.org/mailman/listinfo/serusers</DIV></BODY></HTML>