Hi Schneur,
Have you tried to disable the use_domain param in auth_db module:
http://www.opensips.org/html/docs/modules/1.7.x/auth_db.html#id250091
and to force a fix value for the "realm" param for both challenge and
authorize functions ?
Regards,
Bogdan
On 12/19/2011 07:14 PM, Schneur Rosenberg wrote:
here is my problem, my server has multiple domain names, different
customers register with a different domain name (we combined a few
servers into one, therefore some register with different names) now as
long as I dont have the correct domain set in the subscriber table,
the system will keep on replying with a 401 Unauthorized.
I assume it has to do with the way ha1 passwords are handled, I set
the system to use plain text passwords, I also tried setting static
challenge for www_authorize, I thought this will eliminate the need
for the domain in the challenge, but still no registration.
in my debug I get the following 2 lines
Dec 19 09:11:06 opensipsmaster /sbin/opensips[4937]:
DBG:db_mysql:db_mysql_convert_rows: no rows returned from the query
Dec 19 09:11:06 opensipsmaster /sbin/opensips[4937]:
DBG:auth_db:get_ha1: no result for user '[email protected]'
Schneur Rosenberg
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users