Re: pg_hba.conf issue

From: Mike Mascari <mascarm(at)mascari(dot)com>
To: tsmets(at)brutele(dot)be
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_hba.conf issue
Date: 2002-03-21 12:14:17
Message-ID: 3C99CE99.50E95D0D@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

tsmets(at)brutele(dot)be wrote:
>
> I wanna connect froma remote host to the Database via JDBC.
> I modified the pg_hba.conf to this :
>
> host all 192.168.1.0 255.255.255.255 trust sameuser
>
>
> I got the following trace :

> No pg_hba.conf entry for host 192.168.1.101, user jboss

Unless my understanding is incorrect, I think the mask is wrong:

255.255.255.0

would allow a connection from 192.168.1.xxx

255.255.255.255

matches an exact host, 192.168.1.0.

Mike Mascari
mascarm(at)mascari(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mathieu Arnold 2002-03-21 13:12:53 arrays and references
Previous Message tsmets 2002-03-21 12:05:53 pg_hba.conf issue