From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Kris Jurka <books(at)ejurka(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: GSSAPI and V2 protocol |
Date: | 2008-02-05 18:12:27 |
Message-ID: | 47A8A70B.4030300@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Kris Jurka wrote:
>
>
> On Tue, 5 Feb 2008, Magnus Hagander wrote:
>
>> On Tue, Jan 29, 2008 at 03:34:19AM -0500, Kris Jurka wrote:
>>>
>>> Is it possible to authenticate using GSSAPI over the V2 protocol? Is
>>> there any documentation on the message formats for V2?
>>
>> Honestly - don't know :-) Never looked at that part. I mean, the V2
>> protocol is *really* old by now, isn't it? Do you actually need it for
>> something?
>>
>
> The JDBC driver exposes an option to connect via either protocol
> version. I was looking at adding GSSAPI support and it seemed orthogonal
> to the protocol version used, but I couldn't get it working under V2.
> People still use the V2 protocol to connect because it uses string
> interpolation for ? in prepared statements while V3 passes them out of
> line. So for apps that do things like "SELECT timestamp ? " that will
> only work under V2.
Ok. I see the reason, but I can't help you further. Requires a deeper
dig in the code, I guess.
Does this mean you have GSSAPI auth working for protocol v3? :-)
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2008-02-05 18:43:56 | Re: GSSAPI and V2 protocol |
Previous Message | Magnus Hagander | 2008-02-05 18:11:41 | Re: Remove pg_dump -i option (was Re: Proposed patch: synchronized_scanning GUC variable) |