For security reasons we can use only 32min character passwords on my work. And when i tried to create user i got errors from DB.
So, i think this will be useful for other kamailio users.
Sorry for wrong commit format, but i can't understand to which part of kamailio this changes are related. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/779
-- Commit Summary --
* increase password length to 64 in utils(postgres, oracle, mysql, sqlite) * increase password length to 64 in scripts(postgres, oracle, mysql)
-- File Changes --
M scripts/mysql/my_create.sql (2) M scripts/oracle/or_create.sql (2) M scripts/postgres/pg_create.sql (2) M utils/kamctl/db_sqlite/auth_db-create.sql (2) M utils/kamctl/db_sqlite/uid_auth_db-create.sql (2) M utils/kamctl/mysql/auth_db-create.sql (2) M utils/kamctl/mysql/uid_auth_db-create.sql (2) M utils/kamctl/oracle/auth_db-create.sql (2) M utils/kamctl/oracle/uid_auth_db-create.sql (2) M utils/kamctl/postgres/auth_db-create.sql (2) M utils/kamctl/postgres/uid_auth_db-create.sql (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/779.patch https://github.com/kamailio/kamailio/pull/779.diff
The changes to the database schema must be done in the xml files from the lib/srdb1/schema/. The sql or other db definition files are auto-generated from xml files using **make dbschema**.
Also, it may be good that there will be a discussion on sr-users mailing list to see what would be a good size to increase to, not to jump to 64 and then see other people would like 128 or other max length.
Size was increased to 64 using xml entities in db schema definition files.
Closed #779.