summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMagnus Hagander2007-11-09 17:31:07 +0000
committerMagnus Hagander2007-11-09 17:31:07 +0000
commit4b606ee444a1663a5ae668f5cd0560f165b04c43 (patch)
tree283b9f84bf59aae4de2d6930198ea4b666b33870 /src/include
parenta7cd5a4aa0271aa8fe35b6e825b28bb452ac7ca7 (diff)
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/auth.h3
1 files changed, 2 insertions, 1 deletions
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);