Re: IDENT and pg_hda.conf[SOLVED]

From: Jerome Lyles <susemail(at)hawaii(dot)rr(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: IDENT and pg_hda.conf[SOLVED]
Date: 2004-01-31 00:07:59
Message-ID: 200401301407.59967.susemail@hawaii.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 30 January 2004 10:23 am, Jerome Lyles wrote:
> On Friday 30 January 2004 01:37 am, Paul Thomas wrote:
> > On 30/01/2004 09:39 Susemail wrote:
> > > [snip]
> > > In any case I don't have a pg_hba.conf file:
> >
> > You should have, unless you haven't done an initdb...
>
> True, I hadn't done an initdb:
>

>
> Still not able to authenticate:
>
> FATAL: IDENT authentication failed for user "adriel"
> FATAL: IDENT authentication failed for user "postgres"
>
The problem turned out to be two copies of pg_hba. One in
"/usr/local/pgsql/data/pg_hba.conf" the other in
"/var/lib/pgsql/data/pg_hba.conf"
"/var/lib/pgsql/data/pg_hba.conf" is in the Root Directory of postgres on my
system so that's the one the system was using. I thought the system was
using the other one: "/usr/local/pgsql/data/pg_hba.conf", the only one I knew
about.
Thank you for helping me figure it out,
Jerome

In response to

Browse pgsql-general by date

  From Date Subject
Next Message listas 2004-01-31 00:13:26 Re: IDENT and pg_hda.conf
Previous Message Gregory Wood 2004-01-30 22:43:09 Re: Two joins on same foreign key