[Serusers] SER-0.9.0 Multiple-domain

Helge Waastad Helge.Waastad at smartnet.no
Thu Jan 20 13:56:49 CET 2005


Hi,

I have no aliases configured.

 

I found out after debugging mysql, that domain was not in the request
string.

select password,domn,uuid,rpid from subscriber where username='<user-b>'

 

should'nt the domain be in the request???

 

I modified my config:

 

#modparam("auth_db", "calculate_ha1", 1)

#modparam("auth_db", "password_column",   "password")

 

Having only <user-a>@<domain-a> in my subscriber database, I cannot
register <user-a>@<domain-b>

This works as I would like.

However,

Adding <user-a>@<domain-b> does not allow me to register
<user-a>@<domain-b>...

 

 

 

 

best regards,

hw

 

 

Message: 2

Date: Wed, 19 Jan 2005 09:32:11 -0300

From: Felipe Martins <fmartins at mundivox.com>

Subject: Re: [Serusers] SER-0.9.0 Multiple-domain

To: serusers at lists.iptel.org

Message-ID: <20050119093211.2e93c9ab at numenor.mundivox.com>

Content-Type: text/plain; charset=US-ASCII

 

      If I'm not misundertood , you can register your users even if
there is just one SIP_DOMAIN configured, you want only the fist one
(domain-a) to register, but domain-b can register even though. 

Check your aliases, see if domain-b is configured like an alias.

 

> I'm running ser-0.9.0 with two domains, <domain-a> and <domain-b>.

> 

>  (serctl domain add <domain-a>/<domain-b>)

> 

> I've added <user-a>@<domain-a> with password <password-a>

> 

> (serctl add <user-a>@<domain-a> <password-a> <email>

> 

>  

> 

> Both modules registrar and userloc has use_domain=1

> 

> Default SIP_DOMAIN="<domain-a>"

> 

>  

> 

> Registration with <user-a>@<domain-a> and password <password-a> works,

> as usual, fine.

> 

>  

> 

> If I modify my user to register as: <user-a>@<domain-b> and password

> <password-a> and it still is registers OK!

> 

>  

> 

> Is this how it should work?

> 

>  

> 

> I would expect that the client should not be able to register using

> another realm...

> 

>  

> 

> Best regards,

> 

>  

> 

> Helge Waastad

 

 

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


More information about the sr-users mailing list