Stephen Harris <sharris(at)concepts(dot)co(dot)nz> writes:
> User testuser cannot connect to database testuserdb and gets these errors
> psql -h workbench -d testuserdb -U testuser
> psql: FATAL 1: IDENT authentication failed for user "testuser"
Are you in fact running an IDENT server?
If so, try looking in the postmaster's log (stderr output) to get more
info about the problem.
regards, tom lane