On Tue, Oct 28, 2003 at 14:12:31 -0600, "Epps, Aaron M." <[EMAIL PROTECTED]> wrote: > I've got an authentication questions. I've just setup pg_hba.conf to use "local > all all trust" for testing purposes, but when the application I'm using > tries to connect to the PostgreSQL Db (Using PHP) I get the following error. > > " Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT > authentication failed for user "webuser" . in > /var/www/html/issue-tracker/includes/classes/dbi.class.php on line 98 " > > To me, it looks like PostgreSQL is still trying to authenticate, even though it > should be trusting all local socket connections. BTW, the web server and PostgreSQL > server are on the same machine, so it's a local connection, not host. Do I need to > modify anything in pg_ident.conf? I'd appreciate any help you can offer. Thx.
The authentication tests are done in order, with the first one that applies being used. So if there is a rule for doing ident authentication for that database and user before the trust rule, then the trust rule won't get used. ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])