Received: from cdselection.wdi.co.uk (root@[195.13.87.250]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA29107 for ; Wed, 1 Mar 2000 10:32:16 -0500 (EST) (envelope-from graham@digitalplanit.com) Received: from Graham (access2-7.gw.cerbernet.net [195.13.123.135]) by cdselection.wdi.co.uk (8.9.3/8.9.3) with SMTP id PAA29937 for ; Wed, 1 Mar 2000 15:42:32 GMT From: "Graham Vickrage" To: Subject: Authentification problems with local connections Date: Wed, 1 Mar 2000 15:33:21 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal 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