pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nuno Zimas <nzimas@gmail.com>
To: John R Pierce <pierce@hogranch.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: user can't access own database after creation
Date: Wed, 2 Dec 2015 21:31:29 +0000
Message-ID: <BA07E4DA-025C-4DB2-8C8F-659668AFF4BF@gmail.com> (raw)
In-Reply-To: <565F61A1.2050802@hogranch.com>
References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com>
	<CAKFQuwa8Xaq+cmDBX+AJPK+K=1D5qYXnSNKEzbqpVkh46b6s-w@mail.gmail.com>
	<FF251EE8-DC7B-4EF4-8E99-9B89FDB825C8@gmail.com>
	<CADK3HHKUptgkHwH=fhsFLcKLdoXwXT0QA1ZHQOnvtyp3ZyQa_w@mail.gmail.com>
	<EFA851E5-863F-4D31-84B3-016FAC305BC5@gmail.com>
	<565F4D26.1050501@hogranch.com>
	<0C62C048-16A6-4BAD-84BD-3570A1063DC1@gmail.com>
	<565F56E8.8020402@hogranch.com>
	<573F2464-91B2-465A-9124-F3146DC736C9@gmail.com>
	<565F61A1.2050802@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

> On 2 Dec 2015, at 21:24, John R Pierce <pierce@hogranch.com> wrote:
> 
> On 12/2/2015 1:00 PM, Nuno Zimas wrote:
>>> 
>>> what does the pg_hba.conf file look like on the ubuntu server ?
>> 
>> 
>> You can see the file contents here:
>> http://pastebin.com/vYQMsP27 <http://pastebin.com/vYQMsP27;
> 
> these three lines,
> host    all             all             78.47.104.116/32           trust
> host    all             all             62.210.69.197/32           trust
> host    all             all             10.10.10.99/32           trust
> 
> 
> they state that anyone on those 3 hosts can connect as any postgres user including the superuser 'postgres' without any authentication required at all
> 
That’s pretty much the intended behaviour at this point.
As far as SSL goes, it really doesn’t make any difference.
I’ve tried adding ?ssl=true and ?ssl=false to the jdbc URL with no success.


> .
> Also, I see nothing in there about SSL.
> 
> -- 
> john r pierce, recycling bits in santa cruz

view thread (53+ messages)  latest in thread

Message-ID: <BA07E4DA-025C-4DB2-8C8F-659668AFF4BF@gmail.com>
Permalink:  ../BA07E4DA-025C-4DB2-8C8F-659668AFF4BF@gmail.com/
Also on:    postgresql.org/message-id/BA07E4DA-025C-4DB2-8C8F-659668AFF4BF@gmail.com

 · 

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-jdbc@postgresql.org
  Cc: nzimas@gmail.com, pierce@hogranch.com
  Subject: Re: user can't access own database after creation
  In-Reply-To: <BA07E4DA-025C-4DB2-8C8F-659668AFF4BF@gmail.com>
  References: <25B91293-CCF8-42D9-B4ED-19DF36AA881C@gmail.com> <CAKFQuwa8Xaq+cmDBX+AJPK+K=1D5qYXnSNKEzbqpVkh46b6s-w@mail.gmail.com> <FF251EE8-DC7B-4EF4-8E99-9B89FDB825C8@gmail.com> <CADK3HHKUptgkHwH=fhsFLcKLdoXwXT0QA1ZHQOnvtyp3ZyQa_w@mail.gmail.com> <EFA851E5-863F-4D31-84B3-016FAC305BC5@gmail.com> <565F4D26.1050501@hogranch.com> <0C62C048-16A6-4BAD-84BD-3570A1063DC1@gmail.com> <565F56E8.8020402@hogranch.com> <573F2464-91B2-465A-9124-F3146DC736C9@gmail.com> <565F61A1.2050802@hogranch.com> <BA07E4DA-025C-4DB2-8C8F-659668AFF4BF@gmail.com>

* 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