Re: LDAP with TLS is taking more time in Postgresql 11.5 - Mailing list pgsql-general

From Laurenz Albe
Subject Re: LDAP with TLS is taking more time in Postgresql 11.5
Date
Msg-id 862457adf1a223499e3ec2f50e1932d34cfc803b.camel@cybertec.at
Whole thread Raw
In response to LDAP with TLS is taking more time in Postgresql 11.5  (Mani Sankar <manisankar01695@gmail.com>)
List pgsql-general
On Tue, 2020-02-25 at 01:20 +0530, Mani Sankar wrote:
> We have recently upgraded our postgres servers from 9.4 version to 11.5 version. Post upgrade we are see delay in
authentication.
 
> 
> Issue is when we are using ldaptls=1 the authentication takes 1 second or greater than that. But if I disable ldaptls
it'sgetting authenticated within milliseconds.
 
> 
> But in 9.4 even if I enable ldaptls it's getting authenticated within milliseconds any idea why we are facing the
issue?

I would use a packet sniffer like Wireshark to examine the message flow and see where the time is spent.

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




pgsql-general by date:

Previous
From: Sonam Sharma
Date:
Subject: Trigger
Next
From: "Nick Renders"
Date:
Subject: Re: Postgres 12.1 : UPPER() in WHERE clause restarts server