]> 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 18:01:27 +0000 (20:01 +0200)
commit885604d112d5b20d94e2d5d8b352d47a6e585ceb
tree5fb4a546ce086d7f865976b7dc6ea477fcdd3011
parentf844022a0953ab013055fc68bd3ec34f504a6115
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