Re: cannot connect using terminal nor pgaccess

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jaume Teixi <teixi(at)6tems(dot)com>
Cc: psql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: cannot connect using terminal nor pgaccess
Date: 2001-05-21 17:13:00
Message-ID: Pine.LNX.4.30.0105211910570.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jaume Teixi writes:

> but why the tcp/ip also doesn't works ?
>
> teixi(at)thinkpad:~$ grep -v ^# /etc/postgresql/pg_hba.conf | grep -i host
>
> host all 127.0.0.1 255.255.255.0 ident sameuser
^^^^^^^^
> host all 0.0.0.0 0.0.0.0 reject

> teixi(at)thinkpad:~$ psql -d template1 -U postgres -h localhost -p 5432
^^^^^ ^^^^^^^^
> psql: IDENT authentication failed for user 'postgres'

"sameuser" means "same user". Please read up on the details of ident
authentication.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dronamraju Rajesh 2001-05-22 06:50:12 Re: cannot connect using terminal nor pgaccess
Previous Message Jaume Teixi 2001-05-21 15:14:49 Re: cannot connect using terminal nor pgaccess