Hi Joao.<br><br>Why do not you try by letting the domain string empty?<br>In that case, the server will build the request for credentials according to the request itself.<br><br>Kind regards.<br><br>Sergio Gutiérrez.<br><br>
<div><span class="gmail_quote">On 3/29/07, <b class="gmail_sendername">Joao Pereira</b> &lt;<a href="mailto:joao.pereira@fccn.pt">joao.pereira@fccn.pt</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>I already have an OpenSER runnig nicely.<br>Now I installed a second OpenSER (with other a newdomain) with the same<br>database configuration and the same ser.cfg (except the IP).<br>Everyting works fine... except the authentication... OpenSER always
<br>answers 401 Unauthorized.<br><br>It only accepts clients when I comment this part:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;if (!www_authorize(&quot;<a href="http://newdomain.com">newdomain.com</a>&quot;, &quot;subscriber&quot;)) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www_challenge(&quot;
<a href="http://newdomain.com">newdomain.com</a>&quot;, &quot;0&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;};<br><br><br>The users exist in the database and I know the username / password.<br>Whats happening?<br>Thanks<br>regards
<br>Joao Pereira<br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openser.org">Users@openser.org</a><br><a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br>