Re: authentication failed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: roboccc(at)t-online(dot)de (Bogdan Chytrek)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: authentication failed
Date: 2003-12-18 16:28:27
Message-ID: 20213.1071764907@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

roboccc(at)t-online(dot)de (Bogdan Chytrek) writes:
> So why does the authentication fail?

Because the PHP script is not running as Unix user bchytrek (most likely
that process runs under some daemon userid or other). When you are
using IDENT authentication, your Unix user name has to match your
Postgres user name.

You could possibly work around that by creating an IDENT map that allows
the PHP daemon user to be accepted as bchytrek; see the admin guide for
details. But more likely you'll just want to switch to a different
authentication method.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-12-18 16:41:19 Re: pqReadData() -- read() failed: errno=32
Previous Message Ron St-Pierre 2003-12-18 16:09:40 Re: Function Returning SETOF Problem