From: Stephen Frost <sfrost@snowman.net>
To: Greg k <gregg.kay@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: LDAP authentication fails with concurrent create extensions
Date: Tue, 10 Apr 2018 07:31:57 -0400
Message-ID: <20180410113157.GL27724@tamriel.snowman.net> (raw)
In-Reply-To: <CAC5zpv3PZVZmSTj+ugpC54mC5uK+hRbN6w3f6gmFGR10phGGsw@mail.gmail.com>
References: <CAC5zpv3PZVZmSTj+ugpC54mC5uK+hRbN6w3f6gmFGR10phGGsw@mail.gmail.com>
Greetings,
* Greg k (gregg.kay@gmail.com) wrote:
> We are using postgresql 10.3 on Centos 7.2 with LDAP authentication (samba4
> with AD domain controller). We've recently moved to LDAP authentication and
> are now encountering a problem where some concurrent connections that
> create extensions in different databases at the same time are failing with
> a "Can't contact LDAP server" error. The postgres error log contains:
You really shouldn't be using LDAP in an AD environment for
authentication- configure and use Kerberos instead, which is much more
secure than having cleartext passwords seen by the PG server and then
proxied to the LDAP server.
That said, there does appear to be an issue here, thanks for creating a
test case.
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-bugs@postgresql.org
Cc: sfrost@snowman.net, gregg.kay@gmail.com
Subject: Re: LDAP authentication fails with concurrent create extensions
In-Reply-To: <20180410113157.GL27724@tamriel.snowman.net>
References: <CAC5zpv3PZVZmSTj+ugpC54mC5uK+hRbN6w3f6gmFGR10phGGsw@mail.gmail.com> <20180410113157.GL27724@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