RE: [INTERFACES] JDBC from remote

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: Alex Turner <aturner(at)maaco(dot)com>, benoit(at)ooc(dot)com
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: RE: [INTERFACES] JDBC from remote
Date: 1999-05-21 06:53:54
Message-ID: A9DCBD548069D211924000C00D001C44261E9B@exchange.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Even though you are using trust, are you supplying a password to the
driver?

Passing null or "" as a password doesn't work. As long as the password
exists (doesn't have to be correct for trust authentication) it should
work.

Peter

--
Peter T Mount, Enterprise Support
petermount(at)it(dot)maidstone(dot)gov(dot)uk
Anything I write here are my own views, and cannot be taken as the
official words of Maidstone Borough Council

-----Original Message-----
From: Alex Turner [mailto:aturner(at)maaco(dot)com]
Sent: Thursday, May 20, 1999 9:31 PM
To: benoit(at)ooc(dot)com
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] JDBC from remote

Well... I have the line:

host all 0.0.0.0 0.0.0.0 trust

in the pg_hba.conf file...

But I still can't seem to get remote authentication..

Any ideas?

Benoit Foucher wrote:

> Hi Alex,
>
> You may have a look at pg_hba.conf to see if the remote host is
authorized
> to access your database (this file is in the data directory of your
database
> server).
>
> Regards,
>
> Alex Turner wrote:
> >
> > Well.. now I have my JDBC driver working with PostgreSQL I have run
into
> > another problem.
> >
> > Whenever I try to connect from a remote site, I get an
Authentication
> > failure. This has happens whatever user I try (I have created two
in
> > addition to the dba). The database I am try to gain access to is
> > currently empty, I don't know if this is a problem, but I can access
it
> > at localhost fine :(
> >
> > Hope someone can help
> >
> > Alex T

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jonathan Davic 1999-05-21 11:29:47 lock row
Previous Message Robert Carbonari 1999-05-20 21:53:35 problem with postgres example databse package install