You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Allow kerberos name and username case sensitivity to be specified frompostgresql.conf.---------------------------------------------------------------------------Here's an updated version of the patch, with the following changes:1) No longer uses "service name" as "application version". It's insteadhardcoded as "postgres". It could be argued that this part should bebackpatched to 8.0, but it doesn't make a big difference until you canstart changing it with GUC / connection parameters. This change onlyaffects kerberos 5, not 4.2) Now downcases kerberos usernames when the client is running on win32.3) Adds guc option for "krb_caseins_users" to make the server ignorecase mismatch which is required by some KDCs such as Active Directory.Off by default, per discussion with Tom. This change only affectskerberos 5, not 4.4) Updated so it doesn't conflict with the rendevouz/bonjour patchalready in ;-)Magnus Hagander
<replaceable>servicename</> can be set on the server side using the
641
+
<xref linkend="guc-krb-srvname"> configuration parameter, and on the
642
+
client side using the krbsrvname connection parameter. (See also <xref linkend="libpq-connect">.). The installation default can be changed from the default
643
+
<literal>postgres</literal> at build time using
644
+
<literal>./configure --with-krb-srvnam=whatever</>). In most environments,
645
+
this parameter never needs to be changed. However, to support multiple
646
+
<productname>PostgreSQL</> installations on the same host it is necessary.
647
+
Some Kerberos implementations may also require a different service name,
648
+
such as Microsoft Active Directory which requires the service name
649
+
to be in uppercase (<literal>POSTGRES</literal>).
650
+
</para>
651
+
<para>
646
652
<replaceable>hostname</> is the fully qualified host name of the
647
653
server machine. The service principal's realm is the preferred realm
648
654
of the server machine.
@@ -658,25 +664,26 @@ local db1,db2,@demodbs all md5
658
664
</para>
659
665
660
666
<para>
661
-
Make sure that your serverkey file is readable (and preferably
667
+
Make sure that your serverkeytab file is readable (and preferably
662
668
only readable) by the <productname>PostgreSQL</productname> server
663
669
account. (See also <xref linkend="postgres-user">.) The location
664
670
of the key file is specified by the <xref
665
671
linkend="guc-krb-server-keyfile"> configuration
666
-
parameter.(See also <xref linkend="runtime-config">.)The default
672
+
parameter. The default
667
673
is <filename>/etc/srvtab</> if you are using Kerberos 4 and