From f70866fb2353dba162fc296f644e7ce77af6d79f Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 23 Jul 2007 10:16:54 +0000 Subject: SSPI authentication on Windows. GSSAPI compatible client when doing Kerberos against a Unix server, and Windows-specific server-side authentication using SSPI "negotiate" method (Kerberos or NTLM). Only builds properly with MSVC for now. --- doc/src/sgml/client-auth.sgml | 40 +++++++++++++++++++++++++++++++++++++++- doc/src/sgml/libpq.sgml | 22 +++++++++++++++++++++- 2 files changed, 60 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index e3fa1c8b27d..dd3bd8be4d4 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -1,4 +1,4 @@ - + Client Authentication @@ -358,6 +358,17 @@ hostnossl database user + + sspi + + + Use SSPI to authenticate the user. This is only + available on Windows. See for details. + + + + krb5 @@ -677,6 +688,33 @@ local db1,db2,@demodbs all md5 + + SSPI authentication + + + SSPI + + + + SSPI is a Windows + technology for secure authentication with single sign-on. + PostgreSQL will use SSPI in + negotiate mode, which will use + Kerberos when possible and automatically + fall back to NTLM in other cases. + SSPI authentication only works when both + server and client are running Windows. + + + + When using Kerberos authentication, + SSPI works the same way + GSSAPI does. See + for details. + + + + Kerberos authentication diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index e1ee97ce182..117bc5f3509 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ - + <application>libpq</application> - C Library @@ -290,6 +290,17 @@ PGconn *PQconnectdb(const char *conninfo); + + gsslib + + + GSS library to use for GSSAPI authentication. Only used on Windows. + Set to gssapi to force libpq to use the GSSAPI + library for authentication instead of the default SSPI. + + + + service @@ -4220,6 +4231,15 @@ authenticating with Kerberos 5 or GSSAPI. + + PGGSSLIB + +PGGSSLIB sets the GSS library to use for GSSAPI +authentication. + + + + PGCONNECT_TIMEOUT -- cgit v1.2.3