Re: Unix-domain socket support on Windows
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-08-07T15:15:59Z
Lists: pgsql-hackers
On Wed, Aug 7, 2019 at 4:59 PM Peter Eisentraut < peter.eisentraut@2ndquadrant.com> wrote: > On 2019-08-07 16:06, Heikki Linnakangas wrote: > > Am I reading the patches correctly, that getpeereid() still doesn't work > > on Windows? That means that peer authentication doesn't work, right? > > That's a bit sad. One of the big advantages of unix domain sockets over > > TCP is peer authentication. > > Correct, it's not supported. I think it's plausible that they will add > this in the future. > Does it work well enough that SSPI auth can run over it? SSPI auth with the local provider gives you more or less the same results as peer, doesn't it? -- Magnus Hagander Me: https://www.hagander.net/ <http://www.hagander.net/> Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>
Commits
-
Allow using Unix-domain sockets on Windows in tests
- 1d53432ff940 13.0 landed
-
pg_regress: Observe TMPDIR
- 9cedb1666051 13.0 landed
-
Enable Unix-domain sockets support on Windows
- 8f3ec75de406 13.0 landed
-
psql: Remove one use of HAVE_UNIX_SOCKETS
- 541757f34ee0 13.0 landed
-
Allow building without default socket directory
- a9cff89f7e63 13.0 landed
-
Sort out getpeereid() and peer auth handling on Windows
- f14413b684d5 13.0 landed