pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Chris Stephens <cstephens16@gmail.com>
Cc: postgre <pgsql-general@lists.postgresql.org>
Subject: Re: troubleshooting postgresql ldap authentication
Date: Tue, 9 Jun 2020 07:59:13 +0200
Message-ID: <E33B516E-CAC0-4E2E-AE17-CB36CDDEDF8E@gmail.com> (raw)
In-Reply-To: <CAEFL0swMzqaYZUYLGVa2H9=nqTomVBedRNac=_oAjgdw9PNSvw@mail.gmail.com>
References: <CAEFL0swMzqaYZUYLGVa2H9=nqTomVBedRNac=_oAjgdw9PNSvw@mail.gmail.com>

Hi Chris,

> On 08. Jun, 2020, at 23:05, Chris Stephens <cstephens16@gmail.com> wrote:
> posgresql 12
> centos 7

here: PostgreSQL 11.6 & 12.3, SLES 12 & 15

> hostssl    all             all             0.0.0.0/0              ldap ldapserver="ldaps://xxx" ldapbasedn="yyy" ldaptls=1

we use:

hostssl all all 0.0.0.0/0 ldap ldapserver="host1 host2" ldapport=389 ldapsearch="dc=domain,dc=example,dc=com" ldapsearchattribute="uid" ldaptls=1

Works pretty well.

Cheers,
Paul




view thread (5+ messages)  latest in thread

Message-ID: <E33B516E-CAC0-4E2E-AE17-CB36CDDEDF8E@gmail.com>
Permalink:  ../E33B516E-CAC0-4E2E-AE17-CB36CDDEDF8E@gmail.com/
Also on:    postgresql.org/message-id/E33B516E-CAC0-4E2E-AE17-CB36CDDEDF8E@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: paul.foerster@gmail.com, cstephens16@gmail.com
  Subject: Re: troubleshooting postgresql ldap authentication
  In-Reply-To: <E33B516E-CAC0-4E2E-AE17-CB36CDDEDF8E@gmail.com>
  References: <CAEFL0swMzqaYZUYLGVa2H9=nqTomVBedRNac=_oAjgdw9PNSvw@mail.gmail.com> <E33B516E-CAC0-4E2E-AE17-CB36CDDEDF8E@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