pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Christoph Moench-Tegeder <cmt@burggraben.net>
To: Ayub M <hiayub@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pgbouncer with ldap
Date: Mon, 09 Sep 2019 11:41:40 +0200
Message-ID: <e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at> (raw)
In-Reply-To: <20190909080358.GB2404@elch.exwg.net>
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>

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.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (15+ messages)  latest in thread

Message-ID: <e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at>
Permalink:  ../e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at/
Also on:    postgresql.org/message-id/e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, cmt@burggraben.net, hiayub@gmail.com
  Subject: Re: pgbouncer with ldap
  In-Reply-To: <e32e30609b6eef7dfdbf407cae4f16909ada6766.camel@cybertec.at>
  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>

* 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