Re: cannot connect using terminal nor pgaccess

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: cannot connect using terminal nor pgaccess
Дата
Msg-id Pine.LNX.4.30.0105221652290.757-100000@peter.localdomain
обсуждение исходный текст
Ответ на cannot connect using terminal nor pgaccess  (Jaume Teixi <teixi@6tems.com>)
Список pgsql-admin
Thalis A. Kalfigopoulos writes:

> I'm not that familiar with pg yet, but maybe his problem is with the auth line:
> host         all         127.0.0.1     255.255.255.0       ident sameuser
>
> How can an IP going through mask 255.255.255.0 yield x.x.x.1 ? Shouldn't the netmask be 255.255.255.255?

Since the error message was "ident authentication failed", this means that
the system has already decided to use ident authentication, which means
that the line was correct for that part.

As for the netmask, it doesn't matter.  See the documentation for the
precise logic.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Tomasz Misterka
Дата:
Сообщение: user delete problem
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: Cost limit.