Jesse Kline wrote:

On Sat, 2003-03-01 at 14:55, Michael Buckley wrote:


IDENT authentication failed for user "postgres"


I don't know anything about databases, but looking at the error message,
it sounds like you need to run a ident server.



Or, more likely, that the JDBC driver is using a Unix socket to connect and it seems that when one uses sockets, the postgres backend uses the ident protocol to authenticate the process's uid.


Some solutions: 1) Use TCP/IP for connecting to the backend as that seems to work (what's your Java code like?), 2) Run your Java process as user postgres (this sucks, but hey, it's a great way to learn. Experimenting, i mean), or 3) synchronize your authentication scheme between your client and server (one way or another).
--


*Richard Plana, B.Sc., CCNA*
Secretary
Calgary Linux Users' Group




Reply via email to