From 18d0ca2d1bf48f4b62cab4df4625b7f230b7c0c1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 8 Oct 2005 19:32:58 +0000 Subject: Fix Kerberos authentication in wake of virtual-hosts changes --- need to call krb5_sname_to_principal() always. Also, use krb_srvname rather than the hardwired string 'postgres' as the appl_version string in the krb5_sendauth/recvauth calls, to avoid breaking compatibility with PG 8.0. Magnus Hagander --- src/backend/utils/misc/postgresql.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index e004039013c..af042740ad8 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -70,7 +70,7 @@ # Kerberos #krb_server_keyfile = '' #krb_srvname = 'postgres' -#krb_server_hostname = '(any)' # if not set, matches any keytab entry +#krb_server_hostname = '' # empty string matches any keytab entry #krb_caseins_users = off # - TCP Keepalives - -- cgit v1.2.3