From: Graham Vickrage <graham@digitalplanit.com>
To: pgsql-admin@postgresql.org
Subject: Authentification problems with local connections
Date: Wed, 1 Mar 2000 15:33:21 -0000
Message-ID: <NDBBJABDILOPAOOMFJHOAENDCAAA.graham@digitalplanit.com> (raw)
I am trying to restrict access to my databases by adding the following lines
to the pg_hba.conf file: -
local dpstatistic password
local details password
host all 127.0.0.1 255.255.255.255 password
When I now try to access the database using:
[postgres@10 bin]$ psql -u dpstatistics
username: dpstats
password: dpstats
I get the following message:
"No pg_hba.conf entry for host localhost, user dpsuper, database
dpstatistics"
despite the fact that the user dpstats appears in the pg_shadow table: -
usename |usesysid|usecreatedb|usetrace|usesuper|usecatupd|passwd
|valuntil
----------+--------+-----------+--------+--------+---------+----------+-----
---
dpstats | 503|t |t |t |t |dpstats |
Is there an entry missing that I have over-looked, any help greatly
appreciated
Cheers
Graham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: graham@digitalplanit.com
Subject: Re: Authentification problems with local connections
In-Reply-To: <NDBBJABDILOPAOOMFJHOAENDCAAA.graham@digitalplanit.com>
References: <NDBBJABDILOPAOOMFJHOAENDCAAA.graham@digitalplanit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox