Re: pg_hba.conf issue

Поиск
Список
Период
Сортировка
От Mike Mascari
Тема Re: pg_hba.conf issue
Дата
Msg-id 3C99CE99.50E95D0D@mascari.com
обсуждение исходный текст
Ответ на pg_hba.conf issue  (<tsmets@brutele.be>)
Список pgsql-general
tsmets@brutele.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@mascari.com

В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: pg_hba.conf issue
Следующее
От: Mathieu Arnold
Дата:
Сообщение: arrays and references