From 1b4e729eaa97b6169e08abc70e84709cea2cd00a Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 9 Jan 2009 10:13:19 +0000 Subject: 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. --- doc/src/sgml/client-auth.sgml | 71 +++++++++++++++++++++++++++++++++---------- doc/src/sgml/config.sgml | 36 +--------------------- 2 files changed, 56 insertions(+), 51 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index f5cc4729101..029bfd45661 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -1,4 +1,4 @@ - + Client Authentication @@ -801,18 +801,8 @@ omicron bryanh guest1 krb_realm - Overrides the parameter, setting which realm - to verify the authenticated user principal against. - - - - - - krb_server_hostname - - - Overrides the parameter, setting which - hostname will be used for the server principal when using Kerberos. + Sets the realm to match user principal names against. If this parameter + is not set, the realm of the user will be ignored. @@ -874,8 +864,8 @@ omicron bryanh guest1 krb_realm - Overrides the parameter, setting which realm - to verify the authenticated user principal against. + Sets the realm to match user principal names against. If this parameter + is not set, the realm of the user will be ignored. @@ -953,7 +943,7 @@ omicron bryanh guest1 pgusername@realm. By default, the realm of the client is not checked by PostgreSQL. If you have cross-realm authentication enabled and need to verify the realm, use the - parameter. + krb_realm parameter in pg_hba.conf. @@ -996,6 +986,55 @@ omicron bryanh guest1 database access over the web, no extra passwords required. + + The following configuration options are supported for Kerberos: + + + map + + + Allows for mapping between system and database usernames. See + for details. + + + + + + include_realm + + + Include the realm name from the authenticated user principal. This is useful + in combination with Username maps (See + for details), especially with regular expressions, to map users from + multiple realms. + + + + + + krb_realm + + + Sets the realm to match user principal names against. If this parameter + is not set, the realm of the user will be ignored. + + + + + + krb_server_hostname + + + Sets the host name part of the service principal. + This, combined with krb_srvname, is used to generate + the complete service principal, that is + krb_srvname/krb_server_hostname@REALM. + If not set, the default is the server host name. + + + + + diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 564e5c0236c..0d8cf0a84cb 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -612,22 +612,6 @@ SET ENABLE_SEQSCAN TO OFF; - - krb_realm (string) - - krb_realm configuration parameter - - - - Sets the realm to match Kerberos, GSSAPI and SSPI user names against. - See , or - for details. This parameter can only be - set in the postgresql.conf file or on the server - command line. - - - - krb_server_keyfile (string) @@ -657,24 +641,6 @@ SET ENABLE_SEQSCAN TO OFF; - - krb_server_hostname (string) - - krb_server_hostname configuration parameter - - - - Sets the host name part of the service principal. - This, combined with krb_srvname, is used to generate - the complete service principal, that is - krb_srvname/krb_server_hostname@REALM. - If not set, the default is the server host name. See - for details. This parameter can only be set in the postgresql.conf - file or on the server command line. - - - - krb_caseins_users (boolean) -- cgit v1.2.3