[Users] users authentication

Sergio Gutierrez saguti at gmail.com
Fri Mar 30 05:47:12 CEST 2007


Hi Joao.

Why do not you try by letting the domain string empty?
In that case, the server will build the request for credentials according to
the request itself.

Kind regards.

Sergio Gutiérrez.

On 3/29/07, Joao Pereira <joao.pereira at fccn.pt> wrote:
>
> Hello
> I already have an OpenSER runnig nicely.
> Now I installed a second OpenSER (with other a newdomain) with the same
> database configuration and the same ser.cfg (except the IP).
> Everyting works fine... except the authentication... OpenSER always
> answers 401 Unauthorized.
>
> It only accepts clients when I comment this part:
>
>     if (!www_authorize("newdomain.com", "subscriber")) {
>          www_challenge("newdomain.com", "0");
>          break;
>       };
>
>
> The users exist in the database and I know the username / password.
> Whats happening?
> Thanks
> regards
> Joao Pereira
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070329/20cc9839/attachment.htm 


More information about the Users mailing list