From: Peter Eisentraut <peter_e@gmx.net>
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
Date: Tue, 28 May 2013 09:03:27 -0400
Message-ID: <51A4AB1F.3010501@gmx.net> (raw)
In-Reply-To: <E1UehCP-0007N2-KX@wrigleys.postgresql.org>
References: <E1UehCP-0007N2-KX@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: peter_e@gmx.net, tudorbarascu@yahoo.com
Subject: Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
In-Reply-To: <51A4AB1F.3010501@gmx.net>
References: <E1UehCP-0007N2-KX@wrigleys.postgresql.org> <51A4AB1F.3010501@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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