pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: Geoff Winkless <pgsqladmin@geoff.dj>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Lock Postgres account after X number of failed logins?
Date: Wed, 06 May 2020 22:21:32 +1000
Message-ID: <878si5jltf.fsf@gmail.com> (raw)
In-Reply-To: <CAEzk6fcdFV8atrrsDWRioitgj1cAobUDu1SdXhyofVPaxa9bfw@mail.gmail.com>
References: <98e0c063111b424486fc4735a31e4fc0@lmco.com>
	<87h7wuj840.fsf@gmail.com>
	<CAEzk6fcdFV8atrrsDWRioitgj1cAobUDu1SdXhyofVPaxa9bfw@mail.gmail.com>


Geoff Winkless <pgsqladmin@geoff.dj> writes:

> On Wed, 6 May 2020 at 00:05, Tim Cross <theophilusx@gmail.com> wrote:
>> Where Tom's solution fails is with smaller companies that cannot afford
>> this level of infrastructure.
>
> Is there an objection to openldap? It's lightweight (so could
> reasonably be run on the same hardware without significant impact),
> BSD-ish and mature, and (with the password policy overlay) should
> provide exactly the functionality the OP requested.
>

OpenLDAP is certainly the way I would go. However, for a number of
reasons, smaller companies seem somewhat resistant to that level of
integration. I suspect it is primarily because LDAP skills are less
prevalent amongst admins in these areas. Often, these companies don't
really have a planned architecture - things have grown organically and
got to the point where existing resources are fully allocated just
trying to keep all the bits running. It can be hard to sell the idea,
especially as those making the decisions are not across the issues and
from where they sit, it all looks to be working and your asking for more
resources when it doesn't seem to be broken. The IT guys often fail to
sell the benefits because they focus on the technical aspects rather
than on the business aspects.

One client I helped had admins who had been trying to move everything
over to a centralised LDAP solution for ages and failing. They had
presented great justification for why it was needed, but it focused on
the technical benefits rather than the business continuity, process
improvement and security benefits. Once we put together a new business
case which focused on improved processes for managing access, reduced
security audit costs and improved security controls, they were sold and
made the project a priority. 

Based on additional info I saw from the OP and plans to roll out
many databases, I think a centralised directory service approach is
really their only saleable and maintainable solution. In fact, they
probably need to look at their overall identity management architecture.
Failure to get that basic service correct will result in major support
issue blow out as they increase their customer base.

-- 
Tim Cross





view thread (20+ messages)  latest in thread

Message-ID: <878si5jltf.fsf@gmail.com>
Permalink:  ../878si5jltf.fsf@gmail.com/
Also on:    postgresql.org/message-id/878si5jltf.fsf@gmail.com

 · 

reply

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: theophilusx@gmail.com, pgsqladmin@geoff.dj
  Subject: Re: Lock Postgres account after X number of failed logins?
  In-Reply-To: <878si5jltf.fsf@gmail.com>
  References: <98e0c063111b424486fc4735a31e4fc0@lmco.com> <87h7wuj840.fsf@gmail.com> <CAEzk6fcdFV8atrrsDWRioitgj1cAobUDu1SdXhyofVPaxa9bfw@mail.gmail.com> <878si5jltf.fsf@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