feat(db): require password for local IP connections#313
feat(db): require password for local IP connections#313vkrizan wants to merge 1 commit intotheforeman:masterfrom
Conversation
|
@ehelms looks like this breaks something? Should I just add |
Will the same be required for advisor? |
@ehelms This will be shared for everything that needs to grab data from Inventory db, Advisor included. The trick here is to require password for the database/user it is connecting to (via foreign table). |
|
@ehelms I've reworked it to just add |
This is required to have FDW to localhost working, as the security mechanism prevents passwordless connections.
|
@ehelms PTAL 🙏 |
I do not know what PTAL is. I have not merged this yet because this needs more changes for IoP to work in devel than just this change and I wanted to encompass all of them. I have been working on that over here -- ehelms@35f635f |
Requires password authentication to pg for local IP connections in order to support Foreign Data Wrapper connections to the same instance.
Please note, that the unix socket connections are unaffected by this change.
Having a FDW to
localhostwith fulltrustresults in: