Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-09 Thread Bogdan-Andrei Iancu
Hi Tito, OK, so you have a plain text pwd in DB. You also load it to the script during DB auth and push it into the cache. What I was asking is to do some xlog from script to double check that whatever is stored and later fetched from script is correct - have you checked that ? Regards,

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Bogdan-Andrei Iancu
Tito, In DB, what do you have - the plain text passwd or the HA1 ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 03.06.2015 18:56, Tito Cumpen wrote: Bogdan, The password is hashed into a numeric value it would seem. Though my http db

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Tito Cumpen
Bogdan, The password is hashed into a numeric value it would seem. Though my http db provides the password in raw unhashed string when queried for the subscriber password. The debug shows that the md5 hashing is not being matched matching but I am not sure why since the save function is only

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Bogdan-Andrei Iancu
Hi Tito, Have you double checked if the passwd you push to pv_www_authorize() (from cache) is the correct one ? Best Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02.06.2015 01:58, Tito Cumpen wrote: my db http returns the password in

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-03 Thread Tito Cumpen
Bogdan, The password is provided in plaintext by the db. The working scenario looks likes this : loadmodule auth.so loadmodule auth_db.so modparam(auth_db, calculate_ha1, yes) modparam(auth_db, password_column, password) #modparam(auth_db, db_url, modparam(auth_db, db_url,

[OpenSIPS-Users] Issues using memcache auth

2015-06-01 Thread Tito Cumpen
Hello group, I am attempting to add memcache auth validation in opensips 2.1. I was using http db which returns a string of the user password password. This was working prior to utilizing pv_www_authorize. I used this document as a guideline

Re: [OpenSIPS-Users] Issues using memcache auth

2015-06-01 Thread Tito Cumpen
my db http returns the password in plain string by the way. On Mon, Jun 1, 2015 at 6:57 PM, Tito Cumpen t...@xsvoce.com wrote: Hello group, I am attempting to add memcache auth validation in opensips 2.1. I was using http db which returns a string of the user password password. This was