mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Make krb_realm and krb_server_hostname be pg_hba options only, and remove
their GUCs. In passing, noted that the pg_hba options for krb5 authentication weren't listed at all - so add this.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.491 2009/01/07 22:40:49 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.492 2009/01/09 10:13:18 mha Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -2130,16 +2130,6 @@ static struct config_string ConfigureNamesString[] =
|
||||
"$libdir", NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"krb_realm", PGC_SIGHUP, CONN_AUTH_SECURITY,
|
||||
gettext_noop("Sets realm to match Kerberos and GSSAPI users against."),
|
||||
NULL,
|
||||
GUC_SUPERUSER_ONLY
|
||||
},
|
||||
&pg_krb_realm,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"krb_server_keyfile", PGC_SIGHUP, CONN_AUTH_SECURITY,
|
||||
gettext_noop("Sets the location of the Kerberos server key file."),
|
||||
@ -2159,15 +2149,6 @@ static struct config_string ConfigureNamesString[] =
|
||||
PG_KRB_SRVNAM, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"krb_server_hostname", PGC_SIGHUP, CONN_AUTH_SECURITY,
|
||||
gettext_noop("Sets the hostname of the Kerberos server."),
|
||||
NULL
|
||||
},
|
||||
&pg_krb_server_hostname,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
{"bonjour_name", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
|
||||
gettext_noop("Sets the Bonjour broadcast service name."),
|
||||
|
Reference in New Issue
Block a user