pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bryan Basham <basham@bhi.com>
To: pgsql-interfaces@postgresql.org
Cc: basham@bhi.com
Subject: FWD: [QUESTION] JDBC and pg_hba on 6.2
Date: Tue, 10 Mar 1998 09:55:18 -0700 (MST)
Message-ID: <199803101655.JAA11848@sabrina.secure.bhi.com> (raw)

Hello PG interface gurus,

Sorry for the redundant message... Scrappy forwarded this to your list
but I am not active on this list.  Could you please CC me (basham@bhi.com)
with answers.

-Bryan Basham

On Mon, 9 Mar 1998, Bryan Basham wrote:

> Hello,
> 
> I have been using PostgreSQL 6.2 and JDBC for a few months now, but
> only accessing the DB from my local host.  I am now attempting to
> connect to my DB server host remotely (the remote server is gru.org
> and my local host is bela.basham.bhi.com).
> 
> I tried the JDBC_Test program, but it fails:
> 
> > java JDBC_Test jdbc:postgresql://gru.org:5432/gru
> Connecting to Database URL = jdbc:postgresql://gru.org:5432/gru
> Exception: java.sql.SQLException: Failed to authenticate client as Postgres
>   user 'basham' using the default authentication type: be_recvauth: host-based authentication failed
> 
> I have the following entry in the servers pg_hba.conf file:
> 
> # All any connection from Bela.Basham.BHI.COM
> host         all         10.237.124.1  255.255.255.255   trust     
> 
> I restarted the postmaster after changing the pg_hba.conf file
> and it still fails (message above).  Any ideas?
> 
> Thanks,
> Bryan Basham
> 



view thread (3+ messages)  latest in thread

Message-ID: <199803101655.JAA11848@sabrina.secure.bhi.com>
Permalink:  ../199803101655.JAA11848@sabrina.secure.bhi.com/
Also on:    postgresql.org/message-id/199803101655.JAA11848@sabrina.secure.bhi.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: basham@bhi.com
  Subject: Re: FWD: [QUESTION] JDBC and pg_hba on 6.2
  In-Reply-To: <199803101655.JAA11848@sabrina.secure.bhi.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