Hi,
I have got the following strange problem: after creating a user with
openserctl add alice alice alice@netx.test database engine 'MYSQL' loaded Control engine 'FIFO' loaded is_user: user counter=0 check_db_alias: alias counter=0 MySql password for user 'openser@localhost': new user 'alice' added root@sip:/#
the password column in the database of user alice is empty, and I only can register without any password. The same happens with 'bob' etc...
I am using plaintext passwords: modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password")
Any ideas what could have gone wrong?
cheers Franz
Hello,
you have to set: STORE_PLAINTEXT_PW=1
in your openserctlrc file. otherwise plaintext password is not stored, but ha1 version of it.
Cheers, Daniel
On 03/13/07 17:46, Franz Edler wrote:
Hi,
I have got the following strange problem: after creating a user with
openserctl add alice alice alice@netx.test database engine 'MYSQL' loaded Control engine 'FIFO' loaded is_user: user counter=0 check_db_alias: alias counter=0 MySql password for user 'openser@localhost': new user 'alice' added root@sip:/#
the password column in the database of user alice is empty, and I only can register without any password. The same happens with 'bob' etc...
I am using plaintext passwords: modparam("auth_db", "calculate_ha1", yes) modparam("auth_db", "password_column", "password")
Any ideas what could have gone wrong?
cheers Franz
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Thanks Daniel,
you have to set: STORE_PLAINTEXT_PW=1
in your openserctlrc file. otherwise plaintext password is not stored, but ha1 version of it.
Now it works as expected. Sorry for not reading the openserctlrc file until the last line. I was too exited with the new release :-).
cheers Franz