Re: [INTERFACES] Connection via remote client - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] Connection via remote client
Date
Msg-id 3308.908918167@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] Connection via remote client  (Olivier TURPIN <turpin_olivier@bigfoot.com>)
List 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 by date:

Previous
From: Olivier TURPIN
Date:
Subject: Re: [INTERFACES] Connection via remote client
Next
From: "Cary B. O'Brien"
Date:
Subject: Re: [INTERFACES] New user questions re libpq++