Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: tudorbarascu(at)yahoo(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
Date: 2013-05-28 13:03:27
Message-ID: 51A4AB1F.3010501@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 5/21/13 3:41 AM, tudorbarascu(at)yahoo(dot)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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2013-05-28 13:10:01 Re: BUG #8174: Ownership reassigned public schema restored with postgres as owner
Previous Message Amit Kapila 2013-05-28 12:59:29 Re: bug in Prepared statement with DELETE RETURNING and rule on view