[OpenSIPS-Users] help needed for auth-radius

Jinsong Hu jinsong_hu at hotmail.com
Fri May 22 00:22:41 CEST 2009


The freeradius I got come from http://cdrtool.ag-projects.com/wiki/Install
I installed it via
apt-get install freeradius-xs freeradius-xs-mysql
command as listed there in debian lenny. I checked the version of the 
installed
freeradius, it is 1.1.7 . according to the instruction , it is a patched 
version.

attached is the result of "freeradius -X". the client I used is 
libradiusclient-ng2 in
debian lenny.  I suspect that client.conf or radiusd.conf some configuration 
is wrong,
but I just don't know what is wrong.



Jimmy

----- Original Message ----- 
From: "Uwe Kastens" <kiste at kiste.org>
To: "Jinsong Hu" <jinsong_hu at hotmail.com>
Cc: <users at lists.opensips.org>
Sent: Thursday, May 21, 2009 5:36 AM
Subject: Re: [OpenSIPS-Users] help needed for auth-radius


> Jimmy,
>
> could you repeat the request after starting freeradius with -X. I am
> using freeradius-2 with libradiusclient-ng.
>
> BR
>
> Uwe
>
> Uwe Kastens schrieb:
>> Jimmy,
>>
>> Have you installed all dictionaries which are required? What kind of
>> radius server are you using?
>>
>> BR
>>
>> Uwe
>>
>> Jinsong Hu schrieb:
>>>
>>> Hi, There :
>>>   I am trying to use auth-radius module in opensips 1.5, and it
>>> doesn't work. I turned on the debug mode for freeradius,
>>> and got this log. indeed, I noticed that the message doesn't contain a
>>> row for password
>>> like this:
>>> User-Password = "1234567890"
>>>
>>> does any body know what I am missing here ? I am running freeradius
>>> 1.1.7 version, with freeradius-ng client.
>>> I suspect that the client config file needs change, but don't know how.
>>>
>>> can anybody help ?
>>>
>>> Jimmy
>>>
>>> rad_recv: Access-Request packet from host 127.0.0.1:58938, id=47,
>>> length=297
>>>         User-Name = "1234567890 at voip.mydomain.com
>>> <mailto:1234567890 at voip.mydomain.com>"
>>>         Digest-Attributes = 0x0a0d3137373735353530313031
>>>         Digest-Attributes =
>>> 0x011a6f7370317030312e736572766963656f6e7765622e636f6d
>>>         Digest-Attributes =
>>> 0x0232346131346538633430303030303031646463306230643137316438646161656136666465363164663264616362623938
>>>         Digest-Attributes = 0x04137369703a3139322e3136382e312e313533
>>>         Digest-Attributes = 0x030a5245474953544552
>>>         Digest-Response = "dcc035349020529884e8cfbece126a48"
>>>         Service-Type = Sip-Session
>>>         Sip-Uri-User = "1234567890"
>>>         Acct-Session-Id = "OTllMmE4YTA3NGU1MzY3OGVhYzM2MWFhNDk2MDdjYjM."
>>>         NAS-Port = 5060
>>>         NAS-IP-Address = 127.0.0.1
>>> auth: No authenticate method (Auth-Type) configuration found for the
>>> request: Rejecting the user
>>> auth: Failed to validate the user.
>>> Login incorrect: [1234567890 at voip.mydomain.com/<no User-Password
>>> attribute>] (from client localhost port 5060)
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> -- 
>
> kiste lat: 54.322684, lon: 10.13586
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fr.txt
Url: http://lists.opensips.org/pipermail/users/attachments/20090521/acf1649d/attachment-0001.txt 


More information about the Users mailing list