Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 058F02E0037 for ; Sun, 30 Mar 2008 16:32:37 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01320-07 for ; Sun, 30 Mar 2008 16:32:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id 745572E0035 for ; Sun, 30 Mar 2008 16:32:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m2UJWZpp027349; Sun, 30 Mar 2008 15:32:35 -0400 (EDT) To: Bernhard D Rohrer cc: pgsql-admin@postgresql.org Subject: Re: local authentication with md5 In-reply-to: <47EFC636.6070506@sm-wg.net> References: <47EFC636.6070506@sm-wg.net> Comments: In-reply-to Bernhard D Rohrer message dated "Sun, 30 Mar 2008 17:56:22 +0100" Date: Sun, 30 Mar 2008 15:32:35 -0400 Message-ID: <27348.1206905555@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200803/261 X-Sequence-Number: 28744 Bernhard D Rohrer writes: > I have set my authentication to > # "local" is for Unix domain socket connections only > local all all md5 #ident sameuser Are you sure this actually took effect (ie did you "pg_ctl reload")? > 30-Mar 17:47 collab-dir: BeforeJob: run command > "/etc/bacula/scripts/make_catalog_backup bacula postgres > 'md5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'" > 30-Mar 17:47 collab-dir: BeforeJob: pg_dump: [archiver (db)] connection > to database "bacula" failed: FATAL: Ident authentication failed for user > "postgres" It's clear that this connection is trying to use ident not md5. Either you didn't make the pg_hba edit take effect, or bacula is trying to use TCP instead of Unix-socket connection and you still have the "host" line set to ident. regards, tom lane