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 1kxznF-0001gC-JC for pgsql-general@arkaria.postgresql.org; Fri, 08 Jan 2021 21:59:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kxznD-0005nH-I0 for pgsql-general@arkaria.postgresql.org; Fri, 08 Jan 2021 21:59:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxznD-0005n9-9M for pgsql-general@lists.postgresql.org; Fri, 08 Jan 2021 21:59:35 +0000 Received: from tamriel.snowman.net ([70.109.60.50]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kxzn6-0000Ul-5f for pgsql-general@postgresql.org; Fri, 08 Jan 2021 21:59:34 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 45A3F5F799; Fri, 8 Jan 2021 16:59:26 -0500 (EST) Date: Fri, 8 Jan 2021 16:59:26 -0500 From: Stephen Frost To: Paul =?iso-8859-1?Q?F=F6rster?= Cc: Magnus Hagander , "pgsql-general@postgresql.org >> PG-General Mailing List" Subject: Re: Using more than one LDAP? Message-ID: <20210108215926.GY27507@tamriel.snowman.net> References: <08D7C808-63E6-4482-A753-9F3E0DF8ABB5@gmail.com> <15055352-B99F-4F38-AFCF-7B78341820F5@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YAj7lmX6LWC3Cn8z" Content-Disposition: inline In-Reply-To: <15055352-B99F-4F38-AFCF-7B78341820F5@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --YAj7lmX6LWC3Cn8z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Paul F=F6rster (paul.foerster@gmail.com) wrote: > Ok, since LDAP doesn't work that way, I either need to build GSSAPI packa= ges and have the AD admins to provide me with the keytab file or make the t= ransition a "hard" one, i.e. no transition phase. Though I'd rather have li= ked to see a transition phase where either account could have been used I p= ersonally can live with that. It's the developers who will have to change q= uickly, not me. ;-) Done correctly, the developers will hopefully be going from "this stupid thing prompts me to provide a username/password in order to log in" to "no more prompt for logging in, it just *works*". Further, as Magnus explained, you could actually have the mapping to allow user X to log in by providing GSSAPI credentials Y, if they are actually still going to be including some username in their connection request to PG (even though they shouldn't need to, since it'll be the same between their local Windows/AD login and the GSSAPI user that PG will see). You should be able to make both work concurrently thanks to pg_ident.conf. Thanks, Stephen --YAj7lmX6LWC3Cn8z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJf+NW9AAoJEO1sijiDR2RV/qEP/3ySm76uS8UD6Up8UVT4nWWJ gApvIAGcRwh4NNNESywJ0r2nUrGgB0mC/oJft4CKTr2VPXfRMKCHnLOOXqLp3u3s 2wwODtMRaQnRbc08wDTKdBe8/6c9Zk6/l7uiRtCyJoUiIwMMefOkPyqliFoXLGtx r11I2iQDtCSLq6xP23bvujOZGgTTFqrxtHbKSwcI8mR9of292ZvT3pHKERi+erSk yr1Sl13ivti/P0haBEPP/lU5OTLJxve3jOb0qhkKkifYayCvOfUP+xrt1kQSj6xi Tz42t5S1fhATTPxuSUOlcaxsv8Kw97DHu/GJp0Sar0HyWr/3/g+vfI6ot5Db3jsB d6DWb68rqGJ/MGWeu7iIqUZxZBK7geYztpiNN5Y4U0++bjOntgFZUKJ7hhY2z1eK 6Rfe3gT2bwz2mmMdNByUJ6BIynEKCbBPW6skPSfwZ3U4WSStCjI9idgyXtzDWsLQ aZVEDavPh+MGYq/Qu745kLHoxZTSdj6qgsMfPc/1WL+3HSfOt6+CNzhsm+Dz6eEE D+C4T7XYYDxAs/pEo+C7OOMBwpubLkiyihY1HJUDcUuJQoQ0tABXtrB3TYErdyuG k8X0wcAIr3V5umce9xqxMpnNT5Lrb1RNtQeL2mmUWh+mtWlj6LycQ81uvJkOwqON 58WzapqESjHSlRSFEkgo =urfa -----END PGP SIGNATURE----- --YAj7lmX6LWC3Cn8z--