pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: brodgers3@oreillyauto.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14333: Remote connections for members of role in pg_hba.conf
Date: Wed, 21 Sep 2016 21:54:42 -0400
Message-ID: <23442.1474509282@sss.pgh.pa.us> (raw)
In-Reply-To: <20160921165336.1353.35389@wrigleys.postgresql.org>
References: <20160921165336.1353.35389@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

brodgers3@oreillyauto.com writes:
> --- Error received upon attempting remote connection ---
> FATAL: no pg_hba.conf entry for host "172.XX.YY.ZZ", user "myuser", database
> "mydb", SSL off
> Expected either valid connection or password error.

This example works for me (after suitable adjustment of the IP addresses).
Only theory that comes to mind offhand is that you forgot to tell the
postmaster to reload the pg_hba.conf file after you edited it (via pg_ctl
reload, SIGHUP, etc).

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <23442.1474509282@sss.pgh.pa.us>
Permalink:  ../23442.1474509282@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23442.1474509282@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, brodgers3@oreillyauto.com
  Subject: Re: BUG #14333: Remote connections for members of role in pg_hba.conf
  In-Reply-To: <23442.1474509282@sss.pgh.pa.us>
  References: <20160921165336.1353.35389@wrigleys.postgresql.org> <23442.1474509282@sss.pgh.pa.us>

* 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