diff options
author | Magnus Hagander <magnus@hagander.net> | 2014-01-15 17:24:01 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2014-01-19 17:05:01 +0100 |
commit | 98de86e4221a418d670db86bf28ff15e880beadc (patch) | |
tree | aeba76356dfe639d4e9aff48875062f1defb16cc /src/tools/msvc/Solution.pm | |
parent | 4b8f2859ccc4fe1e9b66fbdb332b830b69a9d6cf (diff) | |
download | postgresql-98de86e4221a418d670db86bf28ff15e880beadc.tar.gz postgresql-98de86e4221a418d670db86bf28ff15e880beadc.zip |
Remove support for native krb5 authentication
krb5 has been deprecated since 8.3, and the recommended way to do
Kerberos authentication is using the GSSAPI authentication method
(which is still fully supported).
libpq retains the ability to identify krb5 authentication, but only
gives an error message about it being unsupported. Since all authentication
is initiated from the backend, there is no need to keep it at all
in the backend.
Diffstat (limited to 'src/tools/msvc/Solution.pm')
-rw-r--r-- | src/tools/msvc/Solution.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index bc52086fc8a..7921596a48f 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -221,10 +221,6 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY } if ($self->{options}->{krb5}) { - print O "#define KRB5 1\n"; - print O "#define HAVE_KRB5_ERROR_TEXT_DATA 1\n"; - print O "#define HAVE_KRB5_TICKET_ENC_PART2 1\n"; - print O "#define HAVE_KRB5_FREE_UNPARSED_NAME 1\n"; print O "#define ENABLE_GSS 1\n"; } if (my $port = $self->{options}->{"--with-pgport"}) @@ -625,7 +621,7 @@ sub GetFakeConfigure $cfg .= ' --with-ossp-uuid' if ($self->{options}->{uuid}); $cfg .= ' --with-libxml' if ($self->{options}->{xml}); $cfg .= ' --with-libxslt' if ($self->{options}->{xslt}); - $cfg .= ' --with-krb5' if ($self->{options}->{krb5}); + $cfg .= ' --with-gssapi' if ($self->{options}->{krb5}); $cfg .= ' --with-tcl' if ($self->{options}->{tcl}); $cfg .= ' --with-perl' if ($self->{options}->{perl}); $cfg .= ' --with-python' if ($self->{options}->{python}); |