pgsql: Add authentication parameters compat_realm and upn_usename for S

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add authentication parameters compat_realm and upn_usename for S
Date: 2016-04-08 18:29:20
Message-ID: E1aob9k-0004tY-NJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add authentication parameters compat_realm and upn_usename for SSPI

These parameters are available for SSPI authentication only, to make
it possible to make it behave more like "normal gssapi", while
making it possible to maintain compatibility.

compat_realm is on by default, but can be turned off to make the
authentication use the full Kerberos realm instead of the NetBIOS name.

upn_username is off by default, and can be turned on to return the users
Kerberos UPN rather than the SAM-compatible name (a user in Active
Directory can have both a legacy SAM-compatible username and a new
Kerberos one. Normally they are the same, but not always)

Author: Christian Ullrich
Reviewed by: Robbie Harwood, Alvaro Herrera, me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/35e2e357cb054dc9e5d890fe754c56f0722f015e

Modified Files
--------------
doc/src/sgml/client-auth.sgml | 37 ++++++++++++++
src/backend/libpq/auth.c | 110 ++++++++++++++++++++++++++++++++++++++++++
src/backend/libpq/hba.c | 29 +++++++++++
src/include/libpq/hba.h | 2 +
4 files changed, 178 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-04-08 18:29:53 Re: pgsql: CREATE INDEX ... INCLUDING (column[, ...])
Previous Message Teodor Sigaev 2016-04-08 18:26:28 pgsql: Fix possible use of uninitialised value in ts_headline()