From: Stephen Frost <sfrost@snowman.net>
To: Paul Förster <paul.foerster@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: Using more than one LDAP?
Date: Fri, 8 Jan 2021 16:59:26 -0500
Message-ID: <20210108215926.GY27507@tamriel.snowman.net> (raw)
In-Reply-To: <15055352-B99F-4F38-AFCF-7B78341820F5@gmail.com>
References: <08D7C808-63E6-4482-A753-9F3E0DF8ABB5@gmail.com>
<CABUevEySDnhqeaKRBkkGUeDYEvVSm6-a6TSQztrMib8nZmjNdw@mail.gmail.com>
<B2AEC5C8-D89C-46F3-83FF-8BA3A6008ACE@gmail.com>
<CABUevExmJjVLHFRbbCDUrkhyZ=J20dV-xXxGwKgzdcx4-c-+fw@mail.gmail.com>
<CC9B3338-9972-4210-893C-895DDC7D5E8C@gmail.com>
<CABUevEw6W_+0mh4SoG7mnb360_L4Ci-BKL8gF0G=+KiSYQXAmg@mail.gmail.com>
<15055352-B99F-4F38-AFCF-7B78341820F5@gmail.com>
Greetings,
* Paul Förster (paul.foerster@gmail.com) wrote:
> Ok, since LDAP doesn't work that way, I either need to build GSSAPI packages and have the AD admins to provide me with the keytab file or make the transition a "hard" one, i.e. no transition phase. Though I'd rather have liked to see a transition phase where either account could have been used I personally can live with that. It's the developers who will have to change quickly, 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
Attachments:
signature.asc (application/pgp-signature, 818B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: sfrost@snowman.net, paul.foerster@gmail.com, magnus@hagander.net
Subject: Re: Using more than one LDAP?
In-Reply-To: <20210108215926.GY27507@tamriel.snowman.net>
References: <08D7C808-63E6-4482-A753-9F3E0DF8ABB5@gmail.com> <CABUevEySDnhqeaKRBkkGUeDYEvVSm6-a6TSQztrMib8nZmjNdw@mail.gmail.com> <B2AEC5C8-D89C-46F3-83FF-8BA3A6008ACE@gmail.com> <CABUevExmJjVLHFRbbCDUrkhyZ=J20dV-xXxGwKgzdcx4-c-+fw@mail.gmail.com> <CC9B3338-9972-4210-893C-895DDC7D5E8C@gmail.com> <CABUevEw6W_+0mh4SoG7mnb360_L4Ci-BKL8gF0G=+KiSYQXAmg@mail.gmail.com> <15055352-B99F-4F38-AFCF-7B78341820F5@gmail.com> <20210108215926.GY27507@tamriel.snowman.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox