Lock down regression testing temporary clusters on Windows.

Noah Misch <noah@leadboat.com>

Commit: 6aa98e957924ed3a82877186567f3593da4cf6e0
Author: Noah Misch <noah@leadboat.com>
Date: 2014-12-18T03:48:47Z
Releases: 9.1.15
Lock down regression testing temporary clusters on Windows.

Use SSPI authentication to allow connections exclusively from the OS
user that launched the test suite.  This closes on Windows the
vulnerability that commit be76a6d39e2832d4b88c0e1cc381aa44a7f86881
closed on other platforms.  Users of "make installcheck" or custom test
harnesses can run "pg_regress --config-auth=DATADIR" to activate the
same authentication configuration that "make check" would use.
Back-patch to 9.0 (all supported versions).

Security: CVE-2014-0067

Files

PathChange+/−
contrib/dblink/expected/dblink.out modified +0 −2
contrib/dblink/Makefile modified +2 −1
contrib/dblink/sql/dblink.sql modified +0 −2
doc/src/sgml/regress.sgml modified +0 −13
src/test/regress/pg_regress.c modified +175 −0