Re: [INTERFACES] Connection via remote client

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] Connection via remote client
Дата
Msg-id 3308.908918167@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [INTERFACES] Connection via remote client  (Olivier TURPIN <turpin_olivier@bigfoot.com>)
Список pgsql-interfaces
Olivier TURPIN <turpin_olivier@bigfoot.com> writes:
> But the problem still remains. I launched the postmaster with the following
> command line:
>     postmaster -i -S -D/var/lib/pgsql
> I wonder if there is a special user to be defined prior to any connection (?)

Well, that's a good point.  The postmaster will only accept connections
from clients that give one of the usernames authorized to access the
database --- this is above and beyond the client IP address check.

initdb will create the database with only one authorized user,
namely whoever is running initdb.  You may need to add another user
corresponding to whatever userID the Win95 client is supplying.  See the
"createuser" script supplied with Postgres.

(Do you even know what user name the Win95 client is supplying?
You may just need to set it appropriately.  I have no idea what the
Win95 client-side libraries use for a default user ID, but it very
likely wouldn't be the same as your Unix userID.)

            regards, tom lane

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

Предыдущее
От: Olivier TURPIN
Дата:
Сообщение: Re: [INTERFACES] Connection via remote client
Следующее
От: "Cary B. O'Brien"
Дата:
Сообщение: Re: [INTERFACES] New user questions re libpq++