Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFMKG-0000e8-6o for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Feb 2021 19:29:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lFMKD-0000AC-19 for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Feb 2021 19:29:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFMKC-0000A5-Rd for pgsql-bugs@lists.postgresql.org; Thu, 25 Feb 2021 19:29:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFMK7-00041X-3y for pgsql-bugs@lists.postgresql.org; Thu, 25 Feb 2021 19:29:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 11PJTHBr073904; Thu, 25 Feb 2021 14:29:17 -0500 From: Tom Lane To: Stephen Frost cc: rich.crampton@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16897: gssenc request slow connection In-reply-to: <20210225174351.GU20766@tamriel.snowman.net> References: <16897-2632c6541c9f8491@postgresql.org> <20210225174351.GU20766@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Thu, 25 Feb 2021 12:43:51 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <73902.1614281357.1@sss.pgh.pa.us> Date: Thu, 25 Feb 2021 14:29:17 -0500 Message-ID: <73903.1614281357@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephen Frost writes: > What's the version of the libpq library on the client side..? In > general, while there's an extra packet back and forth because Kerberos / > GSSAPI is set up on the client / Windows side, once the server says it > doesn't support GSSENC, libpq should try a non-GSSENC connection right > away.. I'm wondering if the server DOES say it supports GSSENC, and the delay is involved in the two sides not realizing they aren't talking to the same Kerberos/AD servers, or something like that. regards, tom lane