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 1q0Za9-0007Pl-Io for pgsql-hackers@arkaria.postgresql.org; Sun, 21 May 2023 03:18:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q0Za8-0008Kr-6q for pgsql-hackers@arkaria.postgresql.org; Sun, 21 May 2023 03:18:04 +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 1q0Za7-0008Kh-Tg for pgsql-hackers@lists.postgresql.org; Sun, 21 May 2023 03:18:03 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q0Za5-000x98-09 for pgsql-hackers@postgresql.org; Sun, 21 May 2023 03:18:02 +0000 Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-38ea3f8e413so2636039b6e.2 for ; Sat, 20 May 2023 20:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684639080; x=1687231080; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=psCtM3S2HXfKSG1YFfp33pUC3JvqQEa9TKJam7VdWew=; b=iREooAh8/IauEewvlR6yhu+kz901+2vyuvT4P223vXDlh75HSZc3G7g/m6x71M8+Vo CM6/jM9LvbqZO5KfX8xR/TXO6U+asWR20+lL5PMjY6FAVSLi4n0m5mwtByk6laao9IXL +qYs+uSVKUH25uK+goK3cpdK1QJyvv4GQxGcDHy/ZMRHZDhKnh5siA8uTWModioeGst3 H+Sk4ebVmNlErwTPIeIO/gDxMBu3Gd6X3TkMzJtaFBZI6isBgMSR15dsLYMdp5R+G3ZB tfHxfopwJ5K5xt8POFZjzB1gV2xcwy2X/TPHYCbmI3LBlSXGskn//spR35pNvg9/89R7 ng3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684639080; x=1687231080; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=psCtM3S2HXfKSG1YFfp33pUC3JvqQEa9TKJam7VdWew=; b=jD8o3kcNl141A43njADWm4eytTLxqlUN4SfHMLRa+GLmIzFu8wTC/izw6kDPBHIpMd W1AOoIu4lUQZPuSddEeQ5BdS6qhMmGt1AtfPTFN9lrTE13bk5Rrg98V1p/sfPjDHmnzp MYCx/4w6AJTWJ23eZlPQ9/ryhJ27XgHidA9YGkC2hsaYnTaXjq4bc6w3LHhReaCK/lIp +ZhhJ+Myna1EIrzFrloX00fadZOgYOWejZup/CHTaUUYNtbOlR8tZvJXh1cn677XMLyx kevPzokSrc7EElslebENGL1v3L+d7YGU6SnO75Xc06HxCKVSt0sEFuyzOAiR5ZAN2D4d 1QFQ== X-Gm-Message-State: AC+VfDzSNf4hOuGda4kDnXcWglYzOA5K7ajOrRgY4v1y05c67T4mWB1D I6CobOXzgbsXkfqy5EMTK4c= X-Google-Smtp-Source: ACHHUZ6c26clDkvwyyJEEuFxWtbS+544zNqPdswMeBt5YYr6es70HMqHiP88nvNsDPYacEcY8ANbkw== X-Received: by 2002:aca:1307:0:b0:38e:8ceb:d47a with SMTP id e7-20020aca1307000000b0038e8cebd47amr3295334oii.26.1684639079899; Sat, 20 May 2023 20:17:59 -0700 (PDT) Received: from nathanxps13 ([2600:1700:48f8:340f:56da:6c78:e652:9b7c]) by smtp.gmail.com with ESMTPSA id k24-20020a056820017800b00552465a754esm1106808ood.44.2023.05.20.20.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 May 2023 20:17:59 -0700 (PDT) Date: Sat, 20 May 2023 20:17:57 -0700 From: Nathan Bossart To: Bruce Momjian Cc: Tom Lane , Abhijit Menon-Sen , Stephen Frost , pgsql-hackers@postgresql.org Subject: Re: Naming of gss_accept_deleg Message-ID: <20230521031757.GA3835667@nathanxps13> References: <31186.1684503720@sss.pgh.pa.us> <20230519145834.GA3369022@nathanxps13> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, May 20, 2023 at 09:33:44PM -0400, Bruce Momjian wrote: > With less then 48 hours to beta 1 packaging, I have made this change and > adjusted internal variable to match. The buildfarm and cfbot seem unhappy with 9c0a0e2. It looks like there are a few remaining uses of gss_accept_deleg to rename. I'm planning to commit the attached patch shortly. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com --r5Pyd7+fXNt84Ff3 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="fix_9c0a0e2.patch" diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index c8018da04a..b090ec5245 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -101,7 +101,7 @@ # GSSAPI using Kerberos #krb_server_keyfile = 'FILE:${sysconfdir}/krb5.keytab' #krb_caseins_users = off -#gss_accept_deleg = off +#gss_accept_delegation = off # - SSL - diff --git a/src/test/kerberos/t/001_auth.pl b/src/test/kerberos/t/001_auth.pl index 39c035de32..5aff49a513 100644 --- a/src/test/kerberos/t/001_auth.pl +++ b/src/test/kerberos/t/001_auth.pl @@ -496,7 +496,7 @@ test_access( "connection authorized: user=$username database=$dbname application_name=$application GSS (authenticated=yes, encrypted=yes, deleg_credentials=no, principal=test1\@$realm)" ); -$node->append_conf('postgresql.conf', qq{gss_accept_deleg=off}); +$node->append_conf('postgresql.conf', qq{gss_accept_delegation=off}); $node->restart; test_access( @@ -520,7 +520,7 @@ test_access( "connection authorized: user=$username database=$dbname application_name=$application GSS (authenticated=yes, encrypted=yes, deleg_credentials=no, principal=test1\@$realm)" ); -$node->append_conf('postgresql.conf', qq{gss_accept_deleg=on}); +$node->append_conf('postgresql.conf', qq{gss_accept_delegation=on}); $node->restart; test_access( --r5Pyd7+fXNt84Ff3--