From 4b606ee444a1663a5ae668f5cd0560f165b04c43 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 9 Nov 2007 17:31:07 +0000 Subject: Add parameter krb_realm used by GSSAPI, SSPI and Kerberos to validate the realm of the connecting user. By default it's empty meaning no verification, which is the way Kerberos authentication has traditionally worked in PostgreSQL. --- src/include/libpq/auth.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/libpq/auth.h b/src/include/libpq/auth.h index 65c9d512d8..da0871d9ff 100644 --- a/src/include/libpq/auth.h +++ b/src/include/libpq/auth.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/libpq/auth.h,v 1.33 2007/01/05 22:19:55 momjian Exp $ + * $PostgreSQL: pgsql/src/include/libpq/auth.h,v 1.34 2007/11/09 17:31:07 mha Exp $ * *------------------------------------------------------------------------- */ @@ -20,6 +20,7 @@ extern char *pg_krb_server_keyfile; extern char *pg_krb_srvnam; extern bool pg_krb_caseins_users; extern char *pg_krb_server_hostname; +extern char *pg_krb_realm; extern void ClientAuthentication(Port *port); -- cgit v1.2.3