OSDN Git Service

Fix Kerberos authentication in wake of virtual-hosts changes --- need
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Oct 2005 19:32:58 +0000 (19:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Oct 2005 19:32:58 +0000 (19:32 +0000)
commit18d0ca2d1bf48f4b62cab4df4625b7f230b7c0c1
tree2a3ca95f85df6a7444aa82c35eadf395d99e0cdf
parent49093572370b5b823956355dd7fb67cbbe0c523a
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
src/backend/libpq/auth.c
src/backend/utils/misc/postgresql.conf.sample
src/interfaces/libpq/fe-auth.c