pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Define LDAPS_PORT if it's missing and disable implicit LDAPS on
Date: Thu, 04 Jan 2018 15:52:21 +0000
Message-ID: <E1eX7ob-00032U-4c@gemulon.postgresql.org> (raw)

Define LDAPS_PORT if it's missing and disable implicit LDAPS on Windows

Some versions of Windows don't define LDAPS_PORT.

Also, Windows' ldap_sslinit() is documented to use LDAPS even if you
said secure=0 when the port number happens to be 636 or 3269.  Let's
avoid using the port number to imply that you want LDAPS, so that
connection strings have the same meaning on Windows and Unix.

Author: Thomas Munro
Discussion: https://postgr.es/m/CAEepm%3D23B7GV4AUz3MYH1TKpTv030VHxD2Sn%2BLYWDv8d-qWxww%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3ad2afc2e98fc85d5cf9529d84265b70acc0b13d

Modified Files
--------------
src/backend/libpq/auth.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)



Message-ID: <E1eX7ob-00032U-4c@gemulon.postgresql.org>
Permalink:  ../E1eX7ob-00032U-4c@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eX7ob-00032U-4c@gemulon.postgresql.org

 · 

reply

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-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Define LDAPS_PORT if it's missing and disable implicit LDAPS on
  In-Reply-To: <E1eX7ob-00032U-4c@gemulon.postgresql.org>
  References: <E1eX7ob-00032U-4c@gemulon.postgresql.org>

* 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