From: Adrian Klaver <adrian.klaver@aklaver.com>
To: C GG <cgg0007@gmail.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-general@postgresql.org
Subject: Re: LDAP authentication slow
Date: Wed, 30 May 2018 14:43:15 -0700
Message-ID: <6990674a-9be4-e185-3cad-3af5f76fc821@aklaver.com> (raw)
In-Reply-To: <CAJXW-z9b6ev271L_ByaRFtYartp4nY4iBwpvrcFjqSC-qJUEnQ@mail.gmail.com>
References: <CAJXW-z-K1h_2icOgdOaQZzX0d3dz-SQeLxHMi2EFP7Egy0q03Q@mail.gmail.com>
<20180530160451.GS27724@tamriel.snowman.net>
<CAJXW-z_1KBE=Dkhbxt1MUKSD_wPxoyh-dy2xQFaPhr20B+uJSg@mail.gmail.com>
<20180530185018.GT27724@tamriel.snowman.net>
<CAJXW-z9b6ev271L_ByaRFtYartp4nY4iBwpvrcFjqSC-qJUEnQ@mail.gmail.com>
On 05/30/2018 01:41 PM, C GG wrote:
>
>
> Please let me be clear, this is not a question about whether or not to
> use passwords. This is a question of how to determine the cause of and
> remedy a slowdown retrieving data from PostgreSQL when using LDAP(S) to
> authenticate PostgreSQL users. One of the sideline questions would be
> how to achieve the same effect by using a different scheme. I should
> further clarify that a major requirement would be that the scheme would
> need to work in our current environment without having to re-engineer
> the client applications. That would entail the need to pass a username
> and password as we have traditionally done.
>
> Any friendly assistance with LDAP(S) to that end is welcome.
Have been following this thread and have not answered previously as
LDAP/AD is not something I really know about. Still strikes me as
similar to another LDAP thread:
https://www.postgresql.org/message-id/CAKeZVDov%2Bj2ZfUuSXNN-98_Nn_kAXr2e7UmKHhFNODHuEnUwUg%40mail.g...
In that post the OP found that supplying an IP address instead of a host
name sped up the process.
Have you tried that?
It may not be a permanent solution, but it might help identify where the
problem is.
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, cgg0007@gmail.com, sfrost@snowman.net
Subject: Re: LDAP authentication slow
In-Reply-To: <6990674a-9be4-e185-3cad-3af5f76fc821@aklaver.com>
References: <CAJXW-z-K1h_2icOgdOaQZzX0d3dz-SQeLxHMi2EFP7Egy0q03Q@mail.gmail.com> <20180530160451.GS27724@tamriel.snowman.net> <CAJXW-z_1KBE=Dkhbxt1MUKSD_wPxoyh-dy2xQFaPhr20B+uJSg@mail.gmail.com> <20180530185018.GT27724@tamriel.snowman.net> <CAJXW-z9b6ev271L_ByaRFtYartp4nY4iBwpvrcFjqSC-qJUEnQ@mail.gmail.com> <6990674a-9be4-e185-3cad-3af5f76fc821@aklaver.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