[OpenSER-Users] Problem with Openser-freeradius communication

Dan-Cristian Bogos danb.lists at googlemail.com
Wed May 28 15:25:30 CEST 2008


Hi Pete,

the Service-Type does matter only if u use it in your auth part. The reason
you see "IAPP-Register" is due to radius dictionaries, responsible for
translating between numbers and attributes (radius only transports numbers).

Regarding the problem of FreeRADIUS not authorizing the  requests I think it
is a matter of which module do u want to perform that and configure that
properly. I would recomed you should running  freeradius in debug mode (-X )
and post more info here.

Cheers,
DanB

On Wed, May 28, 2008 at 10:02 AM, Pete Kay <petedao at gmail.com> wrote:

> Hi,
> I am having problem with configuring FreeRadius to authenticate suername
> and password.  I have tried to test freeradius with a test client and it
> works by sending the following message:
> Ready to process requests.
>         User-Name = "1005 at 192.168.1.104"
>         User-Password = "1234"
>         Service-Type = Authenticate-Only
>         NAS-Port = 0
>         NAS-IP-Address = 127.0.0.1
>
> The message that is sent by Openser is as follows:
> Waking up in 1.9 seconds.
>         User-Name = "1005 at 192.168.1.104"
>         Digest-Attributes = 0x0a0631303036
>         Digest-Attributes = 0x010f3139322e3136382e312e313034
>         Digest-Attributes =
> 0x022a34383364376265396630623738663734363935343562386366373865303561316161623032633366
>         Digest-Attributes = 0x04137369703a3139322e3136382e312e313034
>         Digest-Attributes = 0x030a5245474953544552
>         Digest-Response = "eb5f24a5563e9c1096855ef8b2c72d2b"
>         Service-Type = IAPP-Register
>         X-Ascend-PW-Lifetime = 825241654
>         NAS-Port = 5060
>         NAS-IP-Address = 127.0.0.1
>
> Freeradius can't find the password and is reject users as a result of
> that.  Also, is the Service-Type supposed to be Authenticate-Only instead?
> Is this something to do with my openser.cfg setup that is causing the
> problem?
>
> Thanks in advance for your help.
>
> Regards,
> Pete
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080528/90ce29c2/attachment.htm 


More information about the Users mailing list