Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1taWwo-002ciO-Ea for pgadmin-support@arkaria.postgresql.org; Wed, 22 Jan 2025 09:22:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1taWwn-00EPhC-GJ for pgadmin-support@arkaria.postgresql.org; Wed, 22 Jan 2025 09:22:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1taWwm-00EPh3-O7 for pgadmin-support@lists.postgresql.org; Wed, 22 Jan 2025 09:22:53 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1taWwj-000sxh-1h for pgadmin-support@lists.postgresql.org; Wed, 22 Jan 2025 09:22:51 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-53e3778bffdso6956501e87.0 for ; Wed, 22 Jan 2025 01:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; t=1737537768; x=1738142568; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=X/CC9iRdnwm0+xArrGY0Okkf45YM5MZciPu2fa153k4=; b=JcYMpkV5v/2pe8F9wwAxTpvP2s3iXW3fFHI9wWENNqT0ZHFWLBDUV2M7bqBxbsTQ5Z yjnUyi4dPomFHIG0cdlPcli/wNr6Q67GFy8fqpHdfrXeWGsPOv2dkpKwrVBrF5mLidKn cDiZ/6/OqWOcqW6I1VZnnYdLpX1+euglEThGBcYRLQP0F4FMbBQ2bpSlO7K+r8SNz1pW 9DljMrZ0RyRp3OSC9Bv7IqQ8XT6jpmh4Bfi8+dkZFRkpzJhnGtVa4b+U+oQ39qNxiakj wTaWZ4w2Rs83ON7WPHxxKiC9GlQDEksG20+miExLpSg6syupezUX3yGW1SXBrkysBM6c VnYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737537768; x=1738142568; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=X/CC9iRdnwm0+xArrGY0Okkf45YM5MZciPu2fa153k4=; b=CyUDHPveGXaPgwtbZtgYwXRrweVTgPsM0sHcI7fLJfOTXOnpS8pA2NtnfPHd4tZ8pS /IegLTW0Izyf3bLVxmqrZeya9ijYx7o2T9w5ABFKVmB95ZIhEU8wzZ+qqK1vKSja8vCq MENCD3UzJxzYBVzj7sh0yBsmCWKThGFl44HwrhbF4BQM6XS96Z7qO84lr1tUtWapD+M+ 0YofNwpON6o3uVASvE4axqrfJMJ5o0MUfQrySFMWK7Wtou5w6XaRJJ8p5weR3XR8WMeC YBJIdEKWxkOFSWj1ap8u+3tGn7GEGQ1pMDPfxBjpylxuvpkSavOJkTe5kqOuOl7EVnRv Jy5w== X-Gm-Message-State: AOJu0Yz2a7+7V3WasXog0Xz0nv+BrhjbYJnDbdaYtY3LW+coyaHPVOEd 4LeZgMHyXkZEAmT/zn6sPAiDwxf3FyvggYmpY9GGeOJCJ0Fg0ieuoMyslOOkAoISSBt3MnkaPnq /SPkN0O7dm341YmCqJ6Ny1Mf8e5Cxubu4Y1zvltSDlNB/RME= X-Gm-Gg: ASbGnctOSa/Sy+DT6L9tEh9Y01rxNz8/94KdlPHpnnBV7pQh81EikaI4IUrvGkVzbcX gmhrA3eS0JW/OPcMLNlkK7AbWx6O8Wvjzw7zubNCm/Ey4GYKVEpuD+w== X-Google-Smtp-Source: AGHT+IEkfcxW/wiov1GlFjV8bHPwGVH2xIQ4EotJ8Buz53ro+xoN2sgfe6qKgS0m3nzutCZUGVYkjie3BXoDXg1lg5Y= X-Received: by 2002:ac2:51b7:0:b0:53f:231e:6f92 with SMTP id 2adb3069b0e04-5439c28570bmr6327008e87.34.1737537767705; Wed, 22 Jan 2025 01:22:47 -0800 (PST) MIME-Version: 1.0 References: <0b8f60d0-c1f5-4e1e-bb31-82e9e41640e6@arvin.dk> In-Reply-To: From: Dave Page Date: Wed, 22 Jan 2025 09:22:36 +0000 X-Gm-Features: AbW1kva2hkGpbPSz7RkF56higdXzhU0xf4xt6E9d39Bl61NjFPTE8xOETH5l7y4 Message-ID: Subject: Re: gssenc supported? To: Troels Arvin Cc: pgadmin-support@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000006da62f062c480924" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000006da62f062c480924 Content-Type: text/plain; charset="UTF-8" Hi On Tue, 21 Jan 2025 at 16:51, Troels Arvin wrote: > Hello, > > Khushboo Vashi wrote: > > Have you tried connecting Postgres Server with PSQL? > > Yes, I've tried the psql.exe which is shippe with pgadmin. And I've > tried psql.exe from the latest Windows installer from > https://www.enterprisedb.com/downloads/postgres-postgresql-downloads > > Both work when having hostnogssenc in pg_hba.conf. But both do not work > when hostgssenc is used in pg_hba.conf. > > Does someone know why those binaries are not compiled with support for > hostgssenc? > We don't build the binaries that we ship with pgAdmin on Windows with GSSAPI support, for a couple of reasons. First, there's actually a long-standing bug [1] in PostgreSQL that prevents compilation on Windows with both MIT Kerberos and OpenSSL together (I've tried multiple backchannels to get that fix committed - please feel free to chime in on the thread). Secondly, people almost exclusively use SSPI on Windows. You are actually the first person I recall ever wanting GSSAPI support. FWIW, we ship MIT Kerberos anyway (for handling app logins). Adding GSSAPI support would be trivial, if the upstream bug were fixed. [1] https://www.postgresql.org/message-id/flat/CA%2BOCxoxwsgi8QdzN8A0OPGuGfu_1vEW3ufVBnbwd3gfawVpsXw%40mail.gmail.com -- Dave Page pgAdmin: https://www.pgadmin.org PostgreSQL: https://www.postgresql.org pgEdge: https://www.pgedge.com --0000000000006da62f062c480924 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Tue, 21 Jan 2025 at 16:51, Troe= ls Arvin <troels@ar= vin.dk> wrote:
Hello,

Khushboo Vashi wrote:
> =C2=A0 Have you tried connecting Postgres Server with PSQL?

Yes, I've tried the psql.exe which is shippe with pgadmin. And I've=
tried psql.exe from the latest Windows installer from
https://www.enterprisedb.com/dow= nloads/postgres-postgresql-downloads

Both work when having hostnogssenc in pg_hba.conf. But both do not work when hostgssenc is used in pg_hba.conf.

Does someone know why those binaries are not compiled with support for
hostgssenc?

We don't build the bina= ries that we ship with pgAdmin on Windows with GSSAPI support, for a couple= of reasons. First, there's actually a long-standing bug [1] =C2=A0in P= ostgreSQL that prevents compilation on Windows with both MIT Kerberos and O= penSSL together (I've tried multiple backchannels to get that fix commi= tted - please feel free to chime in on the thread). Secondly, people almost= exclusively use SSPI on Windows. You are actually the first person I recal= l ever wanting GSSAPI support.

FWIW, we ship MIT K= erberos anyway (for handling app logins). Adding GSSAPI support would be tr= ivial, if the upstream bug were fixed.

[1]=C2=A0https://= www.postgresql.org/message-id/flat/CA%2BOCxoxwsgi8QdzN8A0OPGuGfu_1vEW3ufVBn= bwd3gfawVpsXw%40mail.gmail.com

--
--0000000000006da62f062c480924--