]> granicus.if.org Git - postgresql/commit
Fix SSPI login when multiple roundtrips are required
authorMagnus Hagander <magnus@hagander.net>
Sat, 16 Jul 2011 17:58:53 +0000 (19:58 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 16 Jul 2011 17:58:53 +0000 (19:58 +0200)
commit0886dde5f83611d1d84a29cb3c4549bf6588668e
treeea7e5feb50b29c12d07e69dad24fd5b9c24aa180
parentd71197cd35db0b0e66120f37443be6a5dfc2669d
Fix SSPI login when multiple roundtrips are required

This fixes SSPI login failures showing "The function
requested is not supported", often showing up when connecting
to localhost. The reason was not properly updating the SSPI
handle when multiple roundtrips were required to complete the
authentication sequence.

Report and analysis by Ahmed Shinwari, patch by Magnus Hagander
src/backend/libpq/auth.c