Re: [INTERFACES] Connection via remote client

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Olivier TURPIN <turpin_olivier(at)bigfoot(dot)com>
Cc: PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] Connection via remote client
Date: 1998-10-20 21:16:07
Message-ID: 3308.908918167@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Olivier TURPIN <turpin_olivier(at)bigfoot(dot)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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Cary B. O'Brien 1998-10-20 21:19:07 Re: [INTERFACES] New user questions re libpq++
Previous Message Craig Orsinger 1998-10-20 20:42:50 RE: [INTERFACES] New user questions re libpq++