pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pgbouncer with ldap
Date: Thu, 12 Sep 2019 08:51:48 +0300
Message-ID: <7741646c-bd71-6506-a161-6f7b6284618b@matrix.gatewaynet.com> (raw)
In-Reply-To: <CAOS0qEs+MpRHg69x2J0goxS5NzVdDRpo-2ZU53Jq8rp_+-iwWQ@mail.gmail.com>
References: <CAOS0qEsBc5hw8Q4_x5eg=Q-OY2_CM3DuSq-thth5tJ6v+ht7_w@mail.gmail.com>
	<20190909074003.GA2404@elch.exwg.net>
	<CAOS0qEsubKBL6hQzNUXPZkOsbC5ONiijRR7rdXrZV7L68ZngHA@mail.gmail.com>
	<20190909080358.GB2404@elch.exwg.net>
	<e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at>
	<4742aa69-f831-fbfb-40a8-82f88b6ef408@matrix.gatewaynet.com>
	<CAOS0qEs+MpRHg69x2J0goxS5NzVdDRpo-2ZU53Jq8rp_+-iwWQ@mail.gmail.com>

On 11/9/19 2:47 μ.μ., Ayub M wrote:
> Achilleas, for this setup to work are changes to postgresql.conf and pg_hba.conf needed? I am trying to implement this for AWS rds Aurora where these files are not accessible.
>
Those files are needed in any case if you work with postgresql. Unfortunately no experience with Aurora. He have been building from source for ages.
> On Mon, Sep 9, 2019, 6:46 AM Achilleas Mantzios <achill@matrix.gatewaynet.com <mailto:achill@matrix.gatewaynet.com>> wrote:
>
>     On 9/9/19 12:41 μ.μ., Laurenz Albe wrote:
>     > Christoph Moench-Tegeder wrote:
>     >>> It has hba and via hba file one can specify ldap connections
>     >>>
>     >>> https://www.postgresql.org/docs/9.3/auth-pg-hba-conf.html
>     >> https://pgbouncer.github.io/config.html#hba-file-format
>     >> "Auth-method field: Only methods supported by PgBouncer’s auth_type
>     >> are supported", and "ldap" is not supported.
>     >> When there's no ldap support in pgbouncer, there's no ldap support
>     >> in pgbouncer.
>     > To throw in something less tautological:
>     >
>     > PgBouncer supports PAM authentication, so if you are on UNIX,
>     > you could use PAM's LDAP module to do what you want.
>     Right, I had written a blog about it :
>     https://severalnines.com/database-blog/one-security-system-application-connection-pooling-and-postgr...
>
>     However, I always wished (since my first endeavors with pgbouncer) it was less complicated.
>     >
>     > Yours,
>     > Laurenz Albe
>
>
>     -- 
>     Achilleas Mantzios
>     IT DEV Lead
>     IT DEPT
>     Dynacom Tankers Mgmt
>
>
>


-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

view thread (15+ messages)  latest in thread

Message-ID: <7741646c-bd71-6506-a161-6f7b6284618b@matrix.gatewaynet.com>
Permalink:  ../7741646c-bd71-6506-a161-6f7b6284618b@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/7741646c-bd71-6506-a161-6f7b6284618b@matrix.gatewaynet.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: achill@matrix.gatewaynet.com
  Subject: Re: pgbouncer with ldap
  In-Reply-To: <7741646c-bd71-6506-a161-6f7b6284618b@matrix.gatewaynet.com>
  References: <CAOS0qEsBc5hw8Q4_x5eg=Q-OY2_CM3DuSq-thth5tJ6v+ht7_w@mail.gmail.com> <20190909074003.GA2404@elch.exwg.net> <CAOS0qEsubKBL6hQzNUXPZkOsbC5ONiijRR7rdXrZV7L68ZngHA@mail.gmail.com> <20190909080358.GB2404@elch.exwg.net> <e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at> <4742aa69-f831-fbfb-40a8-82f88b6ef408@matrix.gatewaynet.com> <CAOS0qEs+MpRHg69x2J0goxS5NzVdDRpo-2ZU53Jq8rp_+-iwWQ@mail.gmail.com> <7741646c-bd71-6506-a161-6f7b6284618b@matrix.gatewaynet.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