I installed Postgres on Ubuntu.
Via pgAdmin i can connect Postgres with a user i created BUT when i try other application that use the same user name and password I get : Ident authentication failed for user.
Why via pgAdmin i can connect and via a python client i get the above error message ?
Thanks!
Best Answer
ident
works by checking which system user is trying to connect, and allows it to connect with that as its criteria. Network can be added as a criteria as well.A few points to guide on troubleshooting the issue:
Configuring Postgresql to use remote authentication based with md5/sha1 is probably the easiest way to reliably fix this. It will allow authentication by other users, if they know the password - but you should have control of who knows the password anyway.