Re: [PATCH v6] GSSAPI encryption support
David Steele <david@pgmasters.net>
From: David Steele <david@pgmasters.net>
To: Robbie Harwood <rharwood@redhat.com>, pgsql-hackers@postgresql.org
Cc: Michael Paquier <michael.paquier@gmail.com>
Date: 2016-03-14T20:13:48Z
Lists: pgsql-hackers
On 3/14/16 4:10 PM, Robbie Harwood wrote: > David Steele <david@pgmasters.net> writes: > >> Hi Robbie, >> >> On 3/8/16 5:44 PM, Robbie Harwood wrote: >>> Hello friends, >>> >>> Here's yet another version of GSSAPI encryption support. It's also >>> available for viewing on my github: >> >> The build went fine but when testing I was unable to logon at all. I'm >> using the same methodology as in >> http://www.postgresql.org/message-id/56BE0FF9.70302@pgmasters.net except >> that I'm running against 51c0f63 and using the v6 patch set. >> >> psql simply hangs and never returns. I have attached a pcap of the >> psql/postgres session generated with: >> >> tcpdump -i lo -nnvvXSs 1514 port 5432 -w gssapi.pcap >> >> If you would like me to capture more information please let me know >> specifically how you would like me to capture it. > > Please disregard my other email. I think I've found the issue; will > post a new version in a moment. Strange timing since I was just testing this. Here's what I got: $ pg/bin/psql -h localhost -U vagrant@PGMASTERS.NET postgres conn->inStart = 179, conn->inEnd = 179, conn->inCursor = 179 psql (9.6devel) Type "help" for help. postgres=> This was after commenting out: // appendBinaryPQExpBuffer(&conn->gwritebuf, // conn->inBuffer + conn->inStart, // conn->inEnd - conn->inStart); // conn->inEnd = conn->inStart; The good news I can log on every time now! -- -David david@pgmasters.net
Commits
-
GSSAPI encryption support
- b0b39f72b990 12.0 landed
-
Fix typo
- 57c932475504 9.6.0 cited