@@ -944,7 +944,12 @@ omicron bryanh guest1
944
944
If set to 1, the realm name from the authenticated user
945
945
principal is included in the system user name that's passed through
946
946
user name mapping (<xref linkend="auth-username-maps">). This is
947
- useful for handling users from multiple realms.
947
+ the recommended configuration as, otherwise, it is impossible to
948
+ differentiate users with the same username who are from different
949
+ realms. The default for this parameter is 0 (meaning to not include
950
+ the realm in the system user name) but may change to 1 in a future
951
+ version of <productname>PostgreSQL</productname>. Users can set it
952
+ explicitly to avoid any issues when upgrading.
948
953
</para>
949
954
</listitem>
950
955
</varlistentry>
@@ -954,12 +959,16 @@ omicron bryanh guest1
954
959
<listitem>
955
960
<para>
956
961
Allows for mapping between system and database user names. See
957
- <xref linkend="auth-username-maps"> for details. For a Kerberos
958
- principal <literal>username/hostbased@EXAMPLE.COM</literal>, the
959
- user name used for mapping is <literal>username/hostbased</literal>
960
- if <literal>include_realm</literal> is disabled, and
961
- <literal>username/hostbased@EXAMPLE.COM</literal> if
962
- <literal>include_realm</literal> is enabled.
962
+ <xref linkend="auth-username-maps"> for details. For a GSSAPI/Kerberos
963
+ principal, such as <literal>username@EXAMPLE.COM</literal> (or, less
964
+ commonly, <literal>username/hostbased@EXAMPLE.COM</literal>), the
965
+ default user name used for mapping is
966
+ <literal>username</literal> (or <literal>username/hostbased</literal>,
967
+ respectfully), unless <literal>include_realm</literal> has been set to
968
+ 1 (as recommended, see above), in which case
969
+ <literal>username@EXAMPLE.COM</literal> (or
970
+ <literal>username/hostbased@EXAMPLE.COM</literal>)
971
+ is what is seen as the system username when mapping.
963
972
</para>
964
973
</listitem>
965
974
</varlistentry>
@@ -1017,7 +1026,12 @@ omicron bryanh guest1
1017
1026
If set to 1, the realm name from the authenticated user
1018
1027
principal is included in the system user name that's passed through
1019
1028
user name mapping (<xref linkend="auth-username-maps">). This is
1020
- useful for handling users from multiple realms.
1029
+ the recommended configuration as, otherwise, it is impossible to
1030
+ differentiate users with the same username who are from different
1031
+ realms. The default for this parameter is 0 (meaning to not include
1032
+ the realm in the system user name) but may change to 1 in a future
1033
+ version of <productname>PostgreSQL</productname>. Users can set it
1034
+ explicitly to avoid any issues when upgrading.
1021
1035
</para>
1022
1036
</listitem>
1023
1037
</varlistentry>
@@ -1027,7 +1041,16 @@ omicron bryanh guest1
1027
1041
<listitem>
1028
1042
<para>
1029
1043
Allows for mapping between system and database user names. See
1030
- <xref linkend="auth-username-maps"> for details.
1044
+ <xref linkend="auth-username-maps"> for details. For a SSPI/Kerberos
1045
+ principal, such as <literal>username@EXAMPLE.COM</literal> (or, less
1046
+ commonly, <literal>username/hostbased@EXAMPLE.COM</literal>), the
1047
+ default user name used for mapping is
1048
+ <literal>username</literal> (or <literal>username/hostbased</literal>,
1049
+ respectfully), unless <literal>include_realm</literal> has been set to
1050
+ 1 (as recommended, see above), in which case
1051
+ <literal>username@EXAMPLE.COM</literal> (or
1052
+ <literal>username/hostbased@EXAMPLE.COM</literal>)
1053
+ is what is seen as the system username when mapping.
1031
1054
</para>
1032
1055
</listitem>
1033
1056
</varlistentry>