[SR-Users] Fwd: Re: Registration Authentication Error

Nathaniel L Keeling III forums at akan.net
Fri Sep 21 22:45:36 CEST 2012




-------- Original Message --------
Subject: 	Re: [SR-Users] Registration Authentication Error
Date: 	Fri, 21 Sep 2012 07:43:14 -0500
From: 	Nathaniel L Keeling III <keeling at akan-tech.com>
To: 	miconda at gmail.com
CC: 	SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - 
Users Mailing List <sr-users at lists.sip-router.org>



Yes, the password column of the subscriber's table contains the plain
text password. Should the calculated HA1 string match the HA1 value in
the database?

Thanks

Nathaniel

On 9/21/12 2:21 AM, Daniel-Constantin Mierla wrote:
> Hello,
>
> this requires the plain text password to be in the column 'password'
> of the subscriber table, do you have it? I am asking because many
> people keep only ha1/ha1b.
>
> Cheers,
> Daniel
>
>
> On 9/21/12 2:35 AM, Nathaniel L Keeling III wrote:
>> Here is the parameters for auth_db:
>>
>> modparam("auth_db", "db_url", DBURL)
>> modparam("auth_db", "calculate_ha1", yes)
>> modparam("auth_db", "password_column", "password")
>> modparam("auth_db", "load_credentials", "")
>> modparam("auth_db", "use_domain", MULTIDOMAIN)
>>
>> This is the default config file with just setting the DBURL, IP
>> address, port and the defines.
>>
>> Thanks
>>
>> Nathaniel
>>
>> On 9/19/12 1:45 AM, Daniel-Constantin Mierla wrote:
>>> Hello,
>>>
>>> can you paste the module parameters for auth and auth_db module? Or
>>> check the combination of password column and calculate_ha1 are ok.
>>>
>>> I guess you are using your custom configuration file, maybe you can
>>> give a quick test with default configuration just to see if the
>>> passwords match.
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 9/18/12 4:58 PM, Nathaniel L Keeling III wrote:
>>>> Hello,
>>>>
>>>> we are testing the new version of Kamailio, 3.3 and are getting
>>>> authentication error when trying to register a sip account. We have
>>>> a db backend in which we used kamctl to add the user to the db. We
>>>> are using the kamailio.cfg script created during the install with
>>>> changes for our environment. Is there some other changes required
>>>> besides the normal. I can see in the logs where everything looks ok
>>>> except for when it compares the calculated values. I have doubled
>>>> check the subscriber table and password but to no avail.
>>>>
>>>> 11(28548) DEBUG: db_postgres [km_dbase.c:393]: PQclear(1008b8560)
>>>> result set
>>>> 11(28548) DEBUG: auth_db [authorize.c:124]: HA1 string calculated:
>>>> e13d569284e76a33ca63e4d6203f844a
>>>> 11(28548) DEBUG: auth [api.c:211]: check_response: Our result =
>>>> '18210b5da2b3d27e6ba50977072599ea'
>>>> 11(28548) DEBUG: auth [api.c:221]: check_response: Authorization
>>>> failed
>>>>
>>>>
>>>> Thanks
>>>>
>>>> Nathaniel
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>>> list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120921/1e923d67/attachment-0001.htm>


More information about the sr-users mailing list