This is the mail archive of the
mailing list for the Cygwin project.
Re: postgres connection problem
- To: Markus Hoenicka <Markus dot Hoenicka at uth dot tmc dot edu>
- Subject: Re: postgres connection problem
- From: Jason Tishler <jason at tishler dot net>
- Date: Sun, 5 Aug 2001 21:11:32 -0400
- Cc: cygwin at cygwin dot com
- Organization: Dot Hill Systems Corp.
On Wed, Aug 01, 2001 at 03:37:27PM +0000, Markus Hoenicka wrote:
> So from the "postgres" account I can connect as user "markus" just
> fine. From my "markus" account this results in a refused connection
> unless I use a TCP/IP based connection by providing a
> Is this the expected behaviour?
On Wed, Apr 04, 2001 at 10:02:50PM +0400, Egor Duda wrote:
> this patch prevents local users from connecting to cygwin-emulated
> AF_UNIX socket if this user have no read rights on socket's file.
> it's done by adding 128-bit random secret cookie to !<socket>port
> string in file. later, each processes which is negotiating connection
> via connect() or accept() must signal its peer that it knows this
> secret cookie.
My WAG (without actually trying out the hypothesis) is that user markus
does not have the appropriate permissions to read the Unix domain socket
file that was created by user postgres.
Would you be willing to run the following:
$ strace -o psql.log psql template1
and report back to the list?
Director, Software Engineering Phone: 732.264.8770 x235
Dot Hill Systems Corp. Fax: 732.264.8798
82 Bethany Road, Suite 7 Email: email@example.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html