From: Stephen Frost <sfrost@snowman.net>
To: Keith Brown <keith6014@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: LDAP authorization with postgresql
Date: Fri, 8 Oct 2021 15:08:19 -0400
Message-ID: <20211008190819.GW20998@tamriel.snowman.net> (raw)
In-Reply-To: <CAPPhDfiLMyN9=8LQeuxo2VcqSy99KyPB63CWaagd3Cb1HsdHCQ@mail.gmail.com>
References: <CAPPhDfiLMyN9=8LQeuxo2VcqSy99KyPB63CWaagd3Cb1HsdHCQ@mail.gmail.com>
Greetings,
* Keith Brown (keith6014@gmail.com) wrote:
> I use GSS for authentication. But I would like to setup LDAP based
> authorization, so a user can have access to a particular
> database/role/etc...I found documentation on how to setup LDAP but
> don't really see any examples for what I am trying to do. Any
> suggestions?
You probably want to look into a tool to sync your LDAP directory group
membership with roles in PG.
eg: https://github.com/larskanis/pg-ldap-sync
(Glad to hear you're using GSS for authentication!)
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, keith6014@gmail.com
Subject: Re: LDAP authorization with postgresql
In-Reply-To: <20211008190819.GW20998@tamriel.snowman.net>
References: <CAPPhDfiLMyN9=8LQeuxo2VcqSy99KyPB63CWaagd3Cb1HsdHCQ@mail.gmail.com> <20211008190819.GW20998@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