From: tudorbarascu@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
Date: Tue, 21 May 2013 07:41:33 +0000
Message-ID: <E1UehCP-0007N2-KX@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 8172
Logged by: Barascu Tudor
Email address: tudorbarascu@yahoo.com
PostgreSQL version: 9.2.4
Operating system: Centos 6.4 kernel 2.6.32-358.6.2.el6.x86_64
Description:
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.
If I enter the hostname and ip in the hosts file all works well.
I get the following error: (it seems the host name gets resolved but after
the deny)
2013-05-21 10:26:12 EEST:192.168.1.6(51513):sde@gisdb:[1997]: FATAL: 28000:
no pg_hba.conf entry for host "192.168.1.6", user "sde", database "gisdb",
SSL off
2013-05-21 10:26:12 EEST:192.168.1.6(51513):sde@gisdb:[1997]: DETAIL:
Client IP address resolved to "192.168.1.6", forward lookup not checked.
2013-05-21 10:26:12 EEST:192.168.1.6(51513):sde@gisdb:[1997]: LOCATION:
ClientAuthentication, auth.c:479
Thank you,
Tudor
--
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: 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: <E1UehCP-0007N2-KX@wrigleys.postgresql.org>
References: <E1UehCP-0007N2-KX@wrigleys.postgresql.org>
* 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