pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Authentification problems with local connections
2+ messages / 2 participants
[nested] [flat]

* Authentification problems with local connections
@ 2000-03-01 15:33 Graham Vickrage <graham@digitalplanit.com>
  2000-03-02 16:01 ` Re: [ADMIN] Authentification problems with local connections Peter Eisentraut <e99re41@DoCS.UU.SE>
  0 siblings, 1 reply; 2+ messages in thread

From: Graham Vickrage @ 2000-03-01 15:33 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [ADMIN] Authentification problems with local connections
  2000-03-01 15:33 Authentification problems with local connections Graham Vickrage <graham@digitalplanit.com>
@ 2000-03-02 16:01 ` Peter Eisentraut <e99re41@DoCS.UU.SE>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2000-03-02 16:01 UTC (permalink / raw)
  To: Graham Vickrage <graham@digitalplanit.com>; +Cc: pgsql-admin

On Wed, 1 Mar 2000, Graham Vickrage wrote:

> 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

Spelling problems?

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-03-02 16:01 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-03-01 15:33 Authentification problems with local connections Graham Vickrage <graham@digitalplanit.com>
2000-03-02 16:01 ` Peter Eisentraut <e99re41@DoCS.UU.SE>

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