Re: Missing or erroneus pg_hba.conf file

Поиск
Список
Период
Сортировка
От jseymour@linxnet.com (Jim Seymour)
Тема Re: Missing or erroneus pg_hba.conf file
Дата
Msg-id 20040620120415.952C44311@jimsun.linxnet.com
обсуждение исходный текст
Ответ на Missing or erroneus pg_hba.conf file  (Sandro Ribeiro - Claro RS - <Sandro.Ribeiro@claro.com.br>)
Список pgsql-admin
Sandro Ribeiro - Claro RS - <Sandro.Ribeiro@claro.com.br> wrote:
>
>
> Hello!
>
> My server is working with pgsql 7.4.2 and Unix Solaris 8. Well, when a try a
> connection from my PC to the server, using pgAdminIII, I get the message
> above. This is my pg_hba.conf file:
>
> local   all         all                                             trust
> # IPv4-style local connections:
> host    all         all         127.0.0.1         255.255.255.255   trust
> host    all         all         172.17.0.0        255.255.0.0       trust
[snip]

There is an issue, as yet not understood (last I knew), with some
versions of (?) Solaris and IP-address-with-netmask configuration
entries in pg_hba.conf.  Try changing your two "host" lines to:

# IPv4-style local connections:
host    all         all         127.0.0.1/32      trust
host    all         all         172.17.0.0/16     trust

and see if that doesn't resolve your problem.

Jim

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: problem with 7.4.2 for RH-9
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Missing or erroneus pg_hba.conf file