Disable /Suppress hostname checks while secured LDAP - Mailing list pgsql-admin

From Sathesh S
Subject Disable /Suppress hostname checks while secured LDAP
Date
Msg-id DB6PR10MB1846529979DDF09DE728FE2D82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Disable /Suppress hostname checks while secured LDAP  (Pavan Teja <pavan.postgresdba@gmail.com>)
Re: Disable /Suppress hostname checks while secured LDAP  (Stephen Frost <sfrost@snowman.net>)
List pgsql-admin
Hello All,

Is there a way to disable/suppress hostname checks in while using Secured LDAP in postgreSQL for authentication.

The issue what we have is that the LDAP certificate what we are using is working for fully qualified named of the domain but not when we use a direct LDAP server in the pg_ba.conf file.

For example:
This works - ldapserver="ldaps//dummy.company.com"

This doesnt work - ldapserver="server1.dummy.company.com"

Our internal LDAP team says that we nees to disable/suppress the hostname checking on the postgreSQL side for the 2nd option to work.

Does anyone have an idea on how we can suppress hostnames check while using Secured LDAP.

Thanks ,
Sathesh

pgsql-admin by date:

Previous
From: Héctor Alonso Lozada Echezuría
Date:
Subject: Is this function slow?
Next
From: Pavan Teja
Date:
Subject: Re: Disable /Suppress hostname checks while secured LDAP