Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UhJYs-0006Iz-GW for pgsql-bugs@arkaria.postgresql.org; Tue, 28 May 2013 13:03:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UhJYr-0005QB-Te for pgsql-bugs@arkaria.postgresql.org; Tue, 28 May 2013 13:03:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UhJYr-0005Q6-CF for pgsql-bugs@postgresql.org; Tue, 28 May 2013 13:03:33 +0000 Received: from eisentraut.org ([85.214.91.16] helo=gattler.pezone.net) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UhJYh-0003kW-5G for pgsql-bugs@postgresql.org; Tue, 28 May 2013 13:03:33 +0000 Received: from jesse.mybdev.com (unknown [204.145.120.11]) by gattler.pezone.net (Postfix) with ESMTPSA id 2692B5A840B; Tue, 28 May 2013 13:03:22 +0000 (UTC) Message-ID: <51A4AB1F.3010501@gmx.net> Date: Tue, 28 May 2013 09:03:27 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: tudorbarascu@yahoo.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 5/21/13 3:41 AM, tudorbarascu@yahoo.com wrote: > In pg_hba.conf I have the following setup: > host all all laptop md5 > > Although the hostname gets resolved by the system (LAN DNS server) I still > get the no pg_hba.conf entry error. Check that the following works: $ host laptop $ host x.x.x.x where x.x.x.x is the IP address that the first command printed. Those need to match. I suspect that you need to write a fully-qualified domain name in pg_hba.conf, and you need to set up the reverse DNS. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs