[OpenSIPS-Users] auth_db module in 3.2.2

Adrian Georgescu ag at ag-projects.com
Thu Aug 12 15:36:31 EST 2021


The auth_db module has some dramatic changes which are either undocumented or not backwards compatible and is unclear how to handle this.

https://opensips.org/docs/modules/3.1.x/auth_db.html#param_password_column_2 <https://opensips.org/docs/modules/3.1.x/auth_db.html#param_password_column_2>

Aug 12 17:34:10 [3179] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg.tmp:1170:20-21: Parameter <password_column_2> not found in module <auth_db> - can't set
Aug 12 17:34:10 [3179] modparam("auth_db", "calculate_ha1",     0)
Aug 12 17:34:10 [3179] modparam("auth_db", "password_column",   "ha1")
Aug 12 17:34:10 [3179] modparam("auth_db", "password_column_2", "ha1b")
Aug 12 17:34:10 [3179] ^~
Aug 12 17:34:10 [3179] modparam("auth_db", "user_column",       "username")
Aug 12 17:34:10 [3179] modparam("auth_db", "domain_column",     "domain")
Aug 12 17:34:10 [3179] ERROR:core:parse_opensips_cfg: bad config file (1 errors)

password_column_2 parameter has vanished in 3.2.2 and we relied heavily on its presence as it contained a recalculate hash including the domain name.

How should we deal with this?

Regards,
Adrian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210812/e873be93/attachment.html>


More information about the Users mailing list