pgsql: Add authentication parameters compat_realm and upn_usename for S - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Add authentication parameters compat_realm and upn_usename for S
Date
Msg-id E1aob9k-0004tY-NJ@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: pgsql: Fix possible use of uninitialised value in ts_headline()
Next
From: Tom Lane
Date:
Subject: Re: pgsql: CREATE INDEX ... INCLUDING (column[, ...])