Fix Kerberos authentication in wake of virtual-hosts changes --- need

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 18d0ca2d1bf48f4b62cab4df4625b7f230b7c0c1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-08T19:32:58Z
Releases: 8.1.0
Fix Kerberos authentication in wake of virtual-hosts changes --- need
to call krb5_sname_to_principal() always.  Also, use krb_srvname rather
than the hardwired string 'postgres' as the appl_version string in the
krb5_sendauth/recvauth calls, to avoid breaking compatibility with PG
8.0.  Magnus Hagander

Files