Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Sergio Gutierrez (saguti)
Summary: Unable to use the uri table with the uri_db module
Using the uri_db module (together with db_postgres module) doesn't use the uri table when "use_uri_table" parameter is set to true (value greater 0, e.g. 1).
To use the uri table the "db_table" parameter from uri_db has to be set adittionally to "uri", which is not very obvious. "use_uri_table" should internally overwrite the tablename used for fetching user credentials when set.
When only "use_uri_table" from "uri_db" module is set to true, the following relevant output is generated with debug level 5:
DBG:db_postgres:db_postgres_submit_query: 0x74c8e8 PQsendQuery(select username from subscriber where username='*********' AND domain='**********' AND uri_user='************')