Hi Joao.
Could you check the log of openser with a higher debug level, to lool for possible error messages at authorization time?
Besides, if you are authorizing against mysql, could you double check the log of MySQL to see how the query is being sent to database?
Regards.
Sergio G.
On 3/30/07, Joao Pereira joao.pereira@fccn.pt wrote:
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@fccn.pt mailto:joao.pereira@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@openser.org <mailto:Users@openser.org> http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users