pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Crampton <rich.crampton@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16897: gssenc request slow connection
Date: Thu, 25 Feb 2021 15:24:09 -0500
Message-ID: <76901.1614284649@sss.pgh.pa.us> (raw)
In-Reply-To: <CAL_nAvWANswo64b-e+gXJphzdccaQfPyhBcZbPchb5K73j39vQ@mail.gmail.com>
References: <16897-2632c6541c9f8491@postgresql.org>
	<20210225174351.GU20766@tamriel.snowman.net>
	<73903.1614281357@sss.pgh.pa.us>
	<CAL_nAvWANswo64b-e+gXJphzdccaQfPyhBcZbPchb5K73j39vQ@mail.gmail.com>

Richard Crampton <rich.crampton@gmail.com> writes:
> It's not enabled in my pg_hba.conf which I've attached...

pg_hba.conf has zero to do with this.  That's only an after-the-fact
filter, besides which you haven't actually forbidden gssenc there.

The important questions are (1) was the server built with --with-gssapi
(probably, if your client was); (2) is a Kerberos ticket available
to the server?  If so, it will be willing to engage in a gss negotiation
with the client.  Given the data you've provided so far, it seems
highly likely that (1) and (2) are true, since as Stephen says the
case where gss is immediately rejected shouldn't take long.

I think it's nearly certain that the problem is not really PG's, but
reflects some sort of issue in your Kerberos/AD infrastructure.
We don't have enough info to speculate about exactly what, though.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <76901.1614284649@sss.pgh.pa.us>
Permalink:  ../76901.1614284649@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/76901.1614284649@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rich.crampton@gmail.com, sfrost@snowman.net, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16897: gssenc request slow connection
  In-Reply-To: <76901.1614284649@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox