[OpenSIPS-Users] Blank domain field in subscriber table

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Dec 20 16:24:41 CET 2011


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 'gratt1 at sipsvr1.mydomain.com'
>
> Schneur Rosenberg
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"




More information about the Users mailing list