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 1oYxPd-0007ry-SL for pgsql-admin@arkaria.postgresql.org; Thu, 15 Sep 2022 22:32:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYxPc-0002vo-Lf for pgsql-admin@arkaria.postgresql.org; Thu, 15 Sep 2022 22:32:48 +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 1oYxPc-0002vD-AX for pgsql-admin@lists.postgresql.org; Thu, 15 Sep 2022 22:32:48 +0000 Received: from tamriel.snowman.net ([70.109.60.50]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYxPX-00061A-7F for pgsql-admin@lists.postgresql.org; Thu, 15 Sep 2022 22:32:46 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 1F0365F7B7; Thu, 15 Sep 2022 18:32:42 -0400 (EDT) Date: Thu, 15 Sep 2022 18:32:41 -0400 From: Stephen Frost To: Sylvain Deveaux Cc: "pgsql-admin@lists.postgresql.org" Subject: Re: Ldap config for Active Directory Message-ID: References: <7f75b5d2f3c58b8d42c1012c784555d05f5f2124.camel@niwa.co.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6ZvAr7O3DbRbEfeb" Content-Disposition: inline In-Reply-To: <7f75b5d2f3c58b8d42c1012c784555d05f5f2124.camel@niwa.co.nz> User-Agent: Mutt/2.1.4 (2021-12-11) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --6ZvAr7O3DbRbEfeb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Sylvain Deveaux (Sylvain.Deveaux@niwa.co.nz) wrote: > Why do you say that you can't use kerberos w/ apps? >=20 > I prefer to not reply to this one otherwise I won't be kind with some peo= ple... =F0=9F=98=85=EF=B8=8F =2E.. ok, but let's try to make clear the distinction of "$people won't let me do this" from "this isn't possible" when posting, as otherwise people who read the lists may get misled or confused. > Note that using ldap auth means sending the user's password to the PG > server in cleartext, which is extremely insecure and means that a > compromised PG server could be used to steal the credentials of any user > logging in using this method. >=20 > I agree... but for now I can't switch a to full Kerberos setup... I'd suggest you push back a bit harder on this as it's much, much more secure to use Kerberos and it's how all the various services in the AD world operate. Services that pass passwords around in cleartext are really very insecure. Thanks, Stephen --6ZvAr7O3DbRbEfeb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEwf6gbxKhD863zrx/7WyKOINHZFUFAmMjqAcACgkQ7WyKOINH ZFU+gw//ZozbcdQOb+7IWKx1ZQZe9jttd51Gf8NtQ44OLjvgUcF3TpEc3/8FrZGQ FXvpwGZKmgUGRqwfcSsFl7HeP6dK+rnHG1gd0XsfnTiYCU45KRPeX3goqCiV2qQl iPtyP7x8pk8mOiT4SaBpyU179Z9SV5dP0BWilXmZ47hykhJvinNd0w4zwtMm0IZF GOuzR6DAloJAYboXIQMlHB4szcldyTk9mqgRMx+cljFv/tDwothnjJC3c6Ven7ip 1+q4SS22Sov5niJ46MNVo/TtRSDYK8ZcGOEydnVX1l3Qg32UqoycSp/73LTIjEyH WfbPpYOJOuGto6uK37bv4cHTip7+oN44fdsE5UJO0EWLkKDOjS3kI1jGkv1OV+Ss 3x6pM0Wh/KajwzZbnODrq+sQbo4rLyVmFnNNgMZzk9X084jcXtc6hU7wknA6XP3h 8BQ+oUTl8uVr5UkIZvMYol/hbBqd3a2iVUrMSyl7Kpn2MkYFTJxa6tBnVPHHm4pV r8h/Mh1K8JnsSAGZbV8vXps7/HzFBX+t1omZxDHBk9/mNncTD8mlRUsUjO9bIR/a KNBDE+BZWslPVz4MYahrF3crmmMzG5SDUz7L0ayrQIH6UfSvY4Rb6DcPagsSsq2/ 8F3F9uuByd4ouWiXQEko45Ljgbbz68vWXXkGrzaRmBST/Ubnbsw= =NnuC -----END PGP SIGNATURE----- --6ZvAr7O3DbRbEfeb--