Re: [SR-Users] auth_db question

2011-07-06 Thread Fabian Borot
I checked the kamctl script and saw this, in the section to add users if [ "$STORE_PLAINTEXT_PW" = "1" ] ; then PASS="$2" else PASS="" fi so I went to the kamct

Re: [SR-Users] auth_db question

2011-07-01 Thread Fabian Borot
Thank you klaus, what you say makes sense, but I was under the impression that it could be set from the config file, I will take a look at the kamctl script From: fbo...@hotmail.com To: sr-users@lists.sip-router.org Subject: RE: auth_db question Date: Fri, 1 Jul 2011 14:55:52 -0400 I just tri

Re: [SR-Users] auth_db question

2011-07-01 Thread Klaus Darilion
If there is a clear text password in the database does not depend on the Kamailio configuration. In your case it is the kamctl tool: kamctl will fill both columns, password with the cleartext password and ha1 with the hash. Thus, either provision the subscriber table manually or modify kamctl to

Re: [SR-Users] auth_db question

2011-07-01 Thread Fabian Borot
I just tried and the phones register but I still see the password on the password column as clear text. modparam("auth_db", "db_url", DBURL) modparam("auth_db", "calculate_ha1", 0) modparam("auth_db", "password_column", "ha1") modparam("auth_db", "load_credentials", "") modparam("auth_db", "use

[SR-Users] auth_db question

2011-07-01 Thread Fabian Borot
Hello I am trying to store the password on the subscriber db as encrypted instead of plain text and when I do it then the registration fails, modparam("auth_db", "db_url", DBURL) modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "ha1") modparam("auth_db", "load_cre