Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 58D151337B96 for ; Thu, 24 Mar 2011 05:57:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 68692-07 for ; Thu, 24 Mar 2011 08:56:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-17937.dedibox.fr (sd-17937.dedibox.fr [88.191.100.74]) by mail.postgresql.org (Postfix) with ESMTP id 9B6D71337B49 for ; Thu, 24 Mar 2011 05:56:57 -0300 (ADT) Received: from [192.168.10.3] (ASte-Genev-Bois-153-1-85-140.w81-48.abo.wanadoo.fr [81.48.35.140]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id 3E6613B8F5; Thu, 24 Mar 2011 09:56:57 +0100 (CET) Message-ID: <4D8B0758.8020707@lelarge.info> Date: Thu, 24 Mar 2011 09:56:56 +0100 From: Guillaume Lelarge User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: =?UTF-8?B?SmFyb3NsYXYgWsOhcnViYQ==?= CC: PostgreSQL - mailing list Subject: Re: Why pg_dump 'trust' authentication fails under root and works under another user? References: <4D8AFABB.1010002@lelarge.info> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201103/223 X-Sequence-Number: 37095 Please, answer to the list. Le 24/03/2011 09:13, Jaroslav Záruba a écrit : > Yes, it is the password for PostgreSQL. > > pg_dump: [archiver (db)] connection to database "db123" failed: FATAL: > password authentication failed for user "postgres" > FATAL: password authentication failed for user "postgres" > The error message says the authentication method used isn't trust. Can you tell us the complete content of your pg_hba.conf (without the comments of course), and the exact command lines (the one that work and the one that doesn't work). -- Guillaume http://www.postgresql.fr http://dalibo.com