From: Tom Lane <tgl@sss.pgh.pa.us>
To: Graham Vickrage <graham@digitalplanit.com>
Cc: Postgres Admin <pgsql-admin@postgresql.org>
Subject: Re: pg_hba.conf question
Date: Mon, 29 Jan 2001 10:07:37 -0500
Message-ID: <24399.980780857@sss.pgh.pa.us> (raw)
In-Reply-To: <NDBBJABDILOPAOOMFJHOIEEJCHAA.graham@digitalplanit.com>
References: <NDBBJABDILOPAOOMFJHOIEEJCHAA.graham@digitalplanit.com>
"Graham Vickrage" <graham@digitalplanit.com> writes:
> I noticed that you can't use the 'ident sameuser' with local unix sockets,
> what is the method of getting round this as I cant use trust for this
> database?
ident only works with TCP sockets. You could require people to connect
to host localhost, ie, use a local TCP connection instead of a Unix
socket. Set up 127.0.0.1 as ident sameuser and socket connections as
reject in pg_hba.conf.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, graham@digitalplanit.com
Subject: Re: pg_hba.conf question
In-Reply-To: <24399.980780857@sss.pgh.pa.us>
References: <NDBBJABDILOPAOOMFJHOIEEJCHAA.graham@digitalplanit.com> <24399.980780857@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox