]> granicus.if.org Git - postgresql/commit
Allow kerberos name and username case sensitivity to be specified from
authorBruce Momjian <bruce@momjian.us>
Sat, 4 Jun 2005 20:42:43 +0000 (20:42 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 4 Jun 2005 20:42:43 +0000 (20:42 +0000)
commit72c53ac3a7faaf825752843fbb77b059a1c5f565
tree632d2da27736de8d8a41624a516e0560869e9da5
parentd995014fac604b256e7123c472cbfd4dde91d411
Allow kerberos name and username case sensitivity to be specified from
postgresql.conf.

---------------------------------------------------------------------------

Here's an updated version of the patch, with the following changes:

1) No longer uses "service name" as "application version". It's instead
hardcoded as "postgres". It could be argued that this part should be
backpatched to 8.0, but it doesn't make a big difference until you can
start changing it with GUC / connection parameters. This change only
affects kerberos 5, not 4.

2) Now downcases kerberos usernames when the client is running on win32.

3) Adds guc option for "krb_caseins_users" to make the server ignore
case mismatch which is required by some KDCs such as Active Directory.
Off by default, per discussion with Tom. This change only affects
kerberos 5, not 4.

4) Updated so it doesn't conflict with the rendevouz/bonjour patch
already in ;-)

Magnus Hagander
14 files changed:
configure
configure.in
doc/src/sgml/client-auth.sgml
doc/src/sgml/installation.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/runtime.sgml
src/backend/libpq/auth.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/libpq/auth.h
src/include/pg_config.h.in
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/libpq-int.h