Обсуждение: BUG #1413: pg_hba.conf : 192.168.2.0/32 not honoured

Поиск
Список
Период
Сортировка

BUG #1413: pg_hba.conf : 192.168.2.0/32 not honoured

От
"jerome celle"
Дата:
The following bug has been logged online:

Bug reference:      1413
Logged by:          jerome celle
Email address:      j.celle@laposte.net
PostgreSQL version: 8.0.0
Operating system:   Linux Redhat 9
Description:        pg_hba.conf : 192.168.2.0/32 not honoured
Details:

With following entry in pg_hba.conf :
host all all 192.168.2.0/32  trust

I get the following error when attempting to open a connection from
192.168.2.27 host :

Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host
"192.168.2.27", user "adeolis", database "adeolis"

NOW, if i change the entry to :
host all all 192.168.2.27/0  trust

I can connect.

Re: BUG #1413: pg_hba.conf : 192.168.2.0/32 not honoured

От
Kris Jurka
Дата:
On Wed, 19 Jan 2005, jerome celle wrote:

> With following entry in pg_hba.conf :
> host all all 192.168.2.0/32  trust
>
> I get the following error when attempting to open a connection from
> 192.168.2.27 host :

Perhaps you want 192.168.2.0/24.

Kris Jurka