Closed dpocock closed 8 years ago
I found the PASSWORD()
function Admin.php
and Internal.php
. Changing it to md5()
and wrapping user
in double quotes I can log in again.
https://github.com/sipcapture/homer-api/commit/94f2ed82d31c1fa2c1756637f37e43d10050440b
can you please test it with last git ?
great, I was just about to ask where the kamailio.cfg had gone
the kamailio.cfg in https://github.com/sipcapture/homer-api/commit/94f2ed82d31c1fa2c1756637f37e43d10050440b still has the FROM_UNIXTIME
, see issue #109 for the fix
so, should we close it ?
more issues:
instead of time_zone
, you need time zone
, and no =
http://www.mydbapool.com/changing-the-current-time-zone-in-mysql-postgresql/
In the file sql/postgres/schema_configuration.sql you need to change from md5
to crypt
For crypto
to work, you need to log into homer_configuration
once as the DBA (user postgres
) and do
$ psql homer_configuration
# CREATE EXTENSION pgcrypto;
That only needs to be done once, it can't be done from the schema_configuration file as that should be loaded by the homer_user login
can we close the ticket ?
yes, this can be closed
The Apache
error.log
contains the following:This query appears to work though, notice it uses quotes around
user
and it usesmd5
instead ofpassword
This was observed in 5.0.5