[Users] users authentication
Joao Pereira
joao.pereira at fccn.pt
Fri Mar 30 13:32:38 CEST 2007
Hello
I have:
modparam("registrar|auth_db|group|db_url|speeddial", "use_domain", 0)
But it used to work with this config.... should I put use_domain -> 1 ?
Thanks a lot
Regards
Joao Pereira
Bogdan-Andrei Iancu wrote:
> 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* <joao.pereira at fccn.pt
>>> <mailto: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 <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
>>> Users at openser.org <mailto:Users at openser.org>
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>
More information about the Users
mailing list