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