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 1qrg6Y-005Q0W-AR for pgsql-docs@arkaria.postgresql.org; Sat, 14 Oct 2023 14:59:02 +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 1qrg6W-007T2t-4D for pgsql-docs@arkaria.postgresql.org; Sat, 14 Oct 2023 14:59:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qrg6V-007SuO-S3 for pgsql-docs@lists.postgresql.org; Sat, 14 Oct 2023 14:59:00 +0000 Received: from brisi.sourcepole.ch ([5.9.57.43]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qrg6S-000eHC-Lv for pgsql-docs@lists.postgresql.org; Sat, 14 Oct 2023 14:58:59 +0000 Received: from [213.55.224.30] (helo=[192.168.158.1]) by vilan-mail with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1qrg6P-0000aV-0q; Sat, 14 Oct 2023 16:58:53 +0200 Message-ID: Date: Sat, 14 Oct 2023 16:58:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Make SSPI documentation clearer To: Bruce Momjian , Stephen Frost Cc: pgsql-docs@lists.postgresql.org References: <167846222574.1803490.15815104179136215862@wrigleys.postgresql.org> Content-Language: en-GB From: Tomas Pospisek In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10.10.23 22:51, Bruce Momjian wrote: > On Thu, Sep 28, 2023 at 09:55:43AM -0400, Bruce Momjian wrote: >> On Wed, Sep 27, 2023 at 07:09:02PM -0400, Bruce Momjian wrote: >>> On Sun, Mar 12, 2023 at 08:36:53PM -0400, Stephen Frost wrote: >>>>> When the server is on a non-Windows platform then the server must use GSSAPI >>>>> if it wants to authenticate the client either via Kerberos or via Active >>>>> Directory. A client on a Windows platform that connects to a non-Windows >>>>> Postgresql server can either use SSPI (strongly encouraged) or GSS (much >>>>> more difficult to set up) if it wants to authenticate via Kerberos or Active >>>>> Directory. A client from a non-Windows platform must use GSS if it wants to >>>>> authenticate via Kerberos or Active Directory." >>>> >>>> Rather than work in negative, I feel like it might make more sense to >>>> work in positives? That is, perhaps this instead: >>>> >>>> On Windows platforms, SSPI is the default and most commonly used >>>> mechanism. Note that an SSPI client can authenticate to a server which >>>> is using either SSPI or GSSAPI, and a GSSAPI client can authenticate to >>>> a server which is using either SSPI or GSSAPI. Generally speaking, >>>> clients and servers on Windows are recommended to use SSPI while clients >>>> and servers on Unix (non-Windows) platforms use GSSAPI. >>> >>> I developed the attached patch. >> >> My first attempt was too terse, so here is a more detailed version, >> attached. > > Patch applied back to PG 11. Nice! Thanks a lot Bruce! And: Stephen wrote: > >> Tomas wrote: >> >> - anybody here that has the guts, time and willingness to take the >> supposed improvement and apply put it into the git repo? > > This isn't helpful and frankly is detrimental to getting this change > included. We strive strongly to have a positive tone and focus on > technical excellence. Thanks a lot Stephen for this comment! I hope it will cause a more important change on my side than my minuscule effort to improve the docu. And sorry I didn't follow up - life piled up and I never came back to this. Many thanks Stephen, really, very appreciated and thanks Bruce for picking up the ball!!! *t