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 1v7gmD-006NYP-7o for pgadmin-support@arkaria.postgresql.org; Sat, 11 Oct 2025 21:05:17 +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 1v7gm9-00GyDC-GT for pgadmin-support@arkaria.postgresql.org; Sat, 11 Oct 2025 21:05:14 +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 1v7gm9-00GyD4-7e for pgadmin-support@lists.postgresql.org; Sat, 11 Oct 2025 21:05:14 +0000 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v7gm7-001Flm-20 for pgadmin-support@lists.postgresql.org; Sat, 11 Oct 2025 21:05:12 +0000 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-86302b5a933so306075185a.0 for ; Sat, 11 Oct 2025 14:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tramat.com; s=google; t=1760216709; x=1760821509; darn=lists.postgresql.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=oATqqRhbwnKcct9odVEW3pLDv3ezz5fK41Z9AH/RoxU=; b=YYiyRf7sW0ieMWngRX61rXVeiseghVehNQSepgRnZs247I4yOSqpxztY80B6gf8faa ikdp2vMro2hBkx+wFuVcwRaDh2zm81py4lUXxIjvUbPvo+bf6D+W6PNMia+VNb3Vm2Se Jg3RZsDxtTxA0QewXpOCcdLeL9dGCmMmmym0Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760216709; x=1760821509; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oATqqRhbwnKcct9odVEW3pLDv3ezz5fK41Z9AH/RoxU=; b=MitJAV98ruOdCGScBaedfOZ7+j63554ci23X5110bjL1LiZ+ba1p+HunQ5S2IRBx2e vNaYxi//SH4rQXZ07LxIwGYo/C8P8xL4tCWBqZscrqpkToS0CFrYgGWSXpm4AxHWK8YX CRmkXpQhTZ6NVUAB8U94Xd+tyUfBhJS/L1osPcDKTLqOyL9QBayd1BgJP/cw9U5eKVuv MnnyE5WfdPbIxNLJ+7i2gDGyeLlgNxPOZtgpMQdvxu//U8S9n8rb1hL8T7Q3qvczpD1i BnSxJyDswojNdzoDi8B3i2TuXUg7m03lKau4fzJg+DcqRB9sPKofEYmq6VOkYHbO8XOa v6uA== X-Gm-Message-State: AOJu0Yz/S757O6HfW8VillqtiTXp0e2FXYt3TV7aPEAtQFn3LYPNkDbO PmqpWfrO1zzk3VNX3ov/0unYBtYTpxONUdHdvVZIcHxbPm7xKxxwxYJ6sjl3t41x9bkUIH5I4OJ DeX94 X-Gm-Gg: ASbGncuzYAyNucx0QrLtaVSf7iGh0mHfqE6UUgNTbbQfBOJZnSqxKtujuBSMiZsTsX4 ZdNNB2rrwsuuzQQWRs6csm+43p+335WA9AMPTHJwG9Wr4NRy/g+6vzCjsKFRmXx6XStqo5Bb2nX YCXBCRwJaMin5nCnoipnIBSx13a7d0bwIUX0b8pWRwbcFeXLl7TviK8lk2knJ7TSo1FzU+3/7iQ 9PJhvINfjkGIevZn7GZVCcRqFHDYlYYLqyMDb5/5EDrigy8mDckQ45tmQQIWpdFqigJKDK1At+r xotGvkh8SlQ02byzCt8IjV74zA/ets6uvaNnl5Gev8rVPaCKD+kvfhMDQ48K4exc+xwlsawylnM e2ZiVlSUCTbl2am8QyOqaeC44LF3x1gDXbV/FsIPSX9WNIDCkq8QhPX+zfJF0f+8yS3CglUQHaJ /rtGEatmhwL05BQhB0IQ== X-Google-Smtp-Source: AGHT+IEvkiXXE7uV0yzkQXVs6bCykqXu9u6rBOfc1fzu8NSDemfIcKEEzdpQ7Rj5QU4iRG4AIKJSPg== X-Received: by 2002:a05:620a:410d:b0:868:d7df:5b27 with SMTP id af79cd13be357-883521da2bdmr2616819785a.54.1760216709142; Sat, 11 Oct 2025 14:05:09 -0700 (PDT) Received: from smtpclient.apple (pool-72-74-76-12.bstnma.fios.verizon.net. [72.74.76.12]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8849f2e2098sm671837285a.13.2025.10.11.14.05.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Oct 2025 14:05:08 -0700 (PDT) From: Matt Warren Content-Type: multipart/alternative; boundary="Apple-Mail=_9A6E3983-60A8-47BB-BD4B-3093AEE883CF" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Password exec troubleshooting Message-Id: Date: Sat, 11 Oct 2025 17:04:57 -0400 To: pgadmin-support@lists.postgresql.org X-Mailer: Apple Mail (2.3826.700.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_9A6E3983-60A8-47BB-BD4B-3093AEE883CF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello pgadmin-support Long-time user, first time emailing. I=E2=80=99m trying to use the Password exec feature to fetch a secret = from AWS Secrets Manager. I=E2=80=99ve created both a python script and = then a sh script and neither work. Oddly nothing about password exec is = reported in logs. I just get the error below.=20 pgAdmin 4 v 9.7 as desktop app python 3.13.7 macOS 15.7.1 Things I=E2=80=99ve tried: Executing either script from the command line works as expected and = returns just the password string. scripts have chmod +x for all users. I=E2=80=99ve provided the full path to script in the Password exec entry Tried quoting and escaping command line. The shell script uses aws cli and full path is provided in script. Moved the script to the ~/Library/Application Support/pgAdmin 4 in case = macOS disk access issues were in play. Error: connection failed: connection to server at =E2=80=9C10.x.x.x", port 5432 = failed: could not initiate GSSAPI security context: Unspecified GSS = failure. Minor code may provide more information: Cannot find KDC for = realm "KERBEROS.MICROSOFTONLINE.COM" connection to server at =E2=80=9C10.x.x.x", port 5432 failed: = fe_sendauth: no password supplied =46rom what I can parse of source code, I don=E2=80=99t think the = ENABLE_SERVER_PASS_EXEC_CMD comes into play as I=E2=80=99m not operating = in server mode. Does anyone have examples of a config that works? Any advice on how I can debug further?=20 Thanks for any pointers! --Apple-Mail=_9A6E3983-60A8-47BB-BD4B-3093AEE883CF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hello = pgadmin-support
Long-time user, first time = emailing.

I=E2=80=99m trying to use the = Password exec feature to fetch a secret from AWS Secrets Manager. I=E2=80=99= ve created both a python script and then a sh script and neither work. = Oddly nothing about password exec is reported in logs. I = just get the error below. 

pgAdmin 4 v 9.7 = as desktop app
python 3.13.7
macOS = 15.7.1

Things I=E2=80=99ve = tried:

  • Executing = either script from the command line works as expected and returns just = the password string.
  • scripts have chmod +x for all = users.
  • I=E2=80=99ve provided the full path to script in the = Password exec entry
  • Tried quoting and escaping command = line.
  • The shell script uses aws cli and full path is provided in = script.
  • Moved the script to the ~/Library/Application = Support/pgAdmin 4 in case macOS disk access issues were in = play.

Error:

<= div>connection = failed: connection to server at =E2=80=9C10.x.x.x", port 5432 failed: = could not initiate GSSAPI security context: Unspecified GSS failure. = Minor code may provide more information: Cannot find KDC for realm = "KERBEROS.MICROSOFTONLINE.COM"
connection to server at = =E2=80=9C10.x.x.x", port 5432 failed: fe_sendauth: no password = supplied

=46rom what = I can parse of source code, I don=E2=80=99t think the = ENABLE_SERVER_PASS_EXEC_CMD comes into play as I=E2=80=99m not operating = in server mode.

Does anyone have examples of a = config that works?
Any advice on how I can debug = further? 

Thanks for any = pointers!
= --Apple-Mail=_9A6E3983-60A8-47BB-BD4B-3093AEE883CF--