Hi,

do you have or not enabled the "use_domain" module parameter for the auth_db module?

regards,
bogdan

Joao Pereira wrote:
Hello
even this way it doesnt work:

       # Registo
      if (!www_authorize("", "subscriber")) {
        www_challenge("", "0");
        break;
      };

Why isnt OpenSER accepting my clients? They are all registered in the database.

Regards
Joao Pereira


Sergio Gutierrez wrote:
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* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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 <http://newdomain.com>",
    "subscriber")) {
www_challenge(" newdomain.com <http://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
    [email protected] <mailto:[email protected]>
    http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to