[SR-Users] Kamailio with Radius authentication
Daniel-Constantin Mierla
miconda at gmail.com
Mon Sep 28 23:36:38 CEST 2015
The logs indicate that the radius server didn't return auth ok:
2(2215) DEBUG: auth [api.c:96]: pre_auth(): auth: digest-algo: MD5
parsed value: 1
2(2215) ERROR: auth_radius [sterman.c:412]: radius_authorize_sterman():
authorization failed
Enable debugging to your radius server to see why it rejects the
authentication. Kamailio is only passing the attributes from
Authorization header, the Radius server does all the computation and
checks to match the response.
Cheers,
Daniel
On 28/09/15 08:00, Ciolpan Ionut-Marian wrote:
> Hello,
>
> Some hints about this issue ? Still, doesn't work !
>
> thank you
>
>
>
> On Wednesday, September 23, 2015 2:38 PM, Ciolpan Ionut-Marian
> <ionut.ciolpan at yahoo.com> wrote:
>
>
> Hello,
>
> Thank you for your answer.
>
> It seems that now radius auth function is executed.
> Unfortunately, now I am receiveing a /*sip:user at domain not registered
> <Unauthorized>*/ message for every user.
>
> *The content of users.file [/etc/raddb/users]:*
> e.g: usertest@<my_domain_name> Auth-Type := Digest, User-Password ==
> "<user_password>"
> Reply-Message = "Authenticated"
> .......
>
> *The content of radcheck table from radius DB:*
> id | username | attribute |
> op | value
> ------------------------------------------------------------------------------------------------------------------------------------
> 14 | abcdef@<domain_name> | Digest-HA1 | := |
> f67erftg...................
>
> Attached you can find the logs, maybe you'll figure it out which is
> the reason of these errors.
>
> Thank you very much for your help!
>
> Br,
>
>
>
>
>
>
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150928/8ef255b9/attachment.html>
More information about the sr-users
mailing list