Re: Server ignores contents of SASLInitialResponse

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Michael Paquier <michael.paquier@gmail.com>, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-05-25T12:51:55Z
Lists: pgsql-hackers
On 05/24/2017 11:33 PM, Michael Paquier wrote:
> I have noticed today that the server ignores completely the contents
> of SASLInitialResponse. ... Attached is a patch to fix the problem.

Fixed, thanks!

- Heikki



Commits

  1. Clear auth context correctly when re-connecting after failed auth attempt.

  2. Fix double-free bug in GSS authentication.

  3. Abort authentication if the client selected an invalid SASL mechanism.

  4. Refactor libpq authentication request processing.