Hi everyone,
Just thought I should give a heads up that I have just implemented the following blueprint: https://blueprints.launchpad.net/nav/+spec/reduce-dbconf-complexity
The changes have been merged to the default branch, see http://metanav.uninett.no/hg/default/log/83c18db13fdc .
For those using the APIs provided with NAV to get DB connection parameters there should be no problems. But if you have some hackish code that parses or uses options from db.conf outside of the supported APIs, be aware that a a lot of options have now disappeared from the default db.conf.
Of the script_* and db_* parameters, only "script_default" and "db_nav" are now required. The APIs will fall back to these two options when the wanted script_* and db_* options are missing.
You can still connect as a different user if needed (e.g. for debugging purposes) by adding the needed options as before.