[Kamailio-Users] Auth problems with 1.5.1

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Tue May 26 01:10:12 CEST 2009


Also I have seen an extrange output on the debug = 6 level ..

If I change auth_db params to use pre-calculated ha1 values:

modparam("auth_db", "password_column", "ha1")
modparam("auth_db", "password_column_2", "ha1b")
modparam("auth_db", "calculate_ha1", 1)

And force the phone to register, that's what I get as debug output.

May 26 00:04:58 [22485] DBG:db_postgres:db_postgres_free_query: 
PQclear(0x883fa18) result set
May 26 00:04:58 [22485] DBG:auth_db:get_ha1: HA1 string calculated: 
eb3164915b1274d8e8844beaa0df26ea
May 26 00:04:58 [22485] DBG:auth:check_response: our result 
= 'd248738cf8d82563edf4dcfd697ec26b'
May 26 00:04:58 [22485] DBG:auth:check_response: authorization failed
May 26 00:04:58 [22485] DBG:core:db_free_columns: freeing 2 columns
May 26 00:04:58 [22485] DBG:core:db_free_columns: freeing RES_NAMES[0] at 
0x819a9d0
May 26 00:04:58 [22485] DBG:core:db_free_columns: freeing RES_NAMES[1] at 
0x819a9f0
May 26 00:04:58 [22485] DBG:core:db_free_columns: freeing result names at 
0x819a9c0
May 26 00:04:58 [22485] DBG:core:db_free_columns: freeing result types at 
0x819a9e0
May 26 00:04:58 [22485] DBG:core:db_free_rows: freeing 1 rows
May 26 00:04:58 [22485] DBG:core:db_free_row: free 
VAL_STRING[0] 'b8f7ba23b1521ace86fed28b23b081f5' at 0x819aa40

I have tryed 4/5 times and "HA1 string calculted" and "our result" values are 
allways diferent, and also they never are the same as the values stored on 
the DB.

I'm lost here ..., does anyone have problems with 1.5.1 and auth_db ?

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual



More information about the Users mailing list