Re: Clusters and shared permissions using LDAP

From: Achilleas Mantzios - cloud <a(dot)mantzios(at)cloud(dot)gatewaynet(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Clusters and shared permissions using LDAP
Date: 2024-12-20 08:35:01
Message-ID: ae828e48-1346-4ada-a20f-3393455729d6@cloud.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 12/10/24 17:59, Felipe Matas wrote:
> Hi all! I'm trying to build three postgres clusters (in different
> servers), I'm thinking to use CITUS to make the data available across
> the clusters, I'm checking the docs.
>
> What I have not been able to found in any place, is how to handle the
> permissions, I can use LDAP to handle the shared credentials across
> the clusters, I have not experience with LDAP but is no problem with
> learning :)
>
> So, how can I handle the permissions? From what I have read, seems
> LDAP only handle user/pass, is there any way to make all the clusters
> to have the same permissions to the LDAP users?
>
> In the time, I'll add more servers to this, so handle server by server
> all the permissions to each user is not a nice way to handle it.
>
> Probs this is already solved somehow, but I can't find it.

As you said, LDAP only deals with authentication not authorization.

If you want to implement security using PostgreSQL, then you will have
to replicate the DDL, GRANTS, memberships, etc

>
> Thx!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ekaterina Amez Gonzalez 2024-12-20 10:06:29 Streaming replication problem with collation
Previous Message Achilleas Mantzios - cloud 2024-12-20 08:29:31 Re: Seamless age (xid) replacement