From: Paul Förster <paul.foerster@gmail.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: Using more than one LDAP?
Date: Sat, 9 Jan 2021 08:55:50 +0100
Message-ID: <E0ADA47F-D98C-4DF1-AFD7-24475D635E6D@gmail.com> (raw)
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>
Hi Stephen,
> On 08. Jan, 2021, at 22:59, Stephen Frost <sfrost@snowman.net> wrote:
>
> 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.
I agree. But the company policy is to have users being asked each time they want to login somewhere, no matter where. We need to use an RSA tamagotchi at least twice to even get somewhere close to being able to launch a tool like DbVisualizer or SQL Developer. If we want a shell on a server, we need to use the tamagotchi even one more time.
And then, for such tools, or in fact anything, "no more prompt" unfortunately is just no option. Some call that security, I call that paranoia. This is why I don't care whether GSSAPI is more secure than LDAPS. The whole environment is stuffed inside some network zone which is stuffed into another network zone, then divided into again some other network zones inside, etc. LDAP and AD are in separate zones than the databases, developer's and admin's machines are again in some other network zone. Even some databases have their own network zones. You get the picture... The best thing is: they still call this single sign on because you get to use the same username everywhere. rotfl
From the network perspective, Magnus is right. We have a hacky environment. But architecture is not something I have an influence on.
Cheers,
Paul
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: paul.foerster@gmail.com, sfrost@snowman.net, magnus@hagander.net
Subject: Re: Using more than one LDAP?
In-Reply-To: <E0ADA47F-D98C-4DF1-AFD7-24475D635E6D@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> <20210108215926.GY27507@tamriel.snowman.net> <E0ADA47F-D98C-4DF1-AFD7-24475D635E6D@gmail.com>
* 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