Re: Disable /Suppress hostname checks while secured LDAP

From: Sathesh S <sathesh(dot)sundaram(at)hotmail(dot)com>
To: Pavan Teja <pavan(dot)postgresdba(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Disable /Suppress hostname checks while secured LDAP
Date: 2018-02-14 07:41:34
Message-ID: DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Pavan,

We have to use LDAP to comply with our standards. Any suggestions on suppressing hostname check would be helpful.

Thanks,
Sathesh

________________________________
From: Pavan Teja <pavan(dot)postgresdba(at)gmail(dot)com>
Sent: Wednesday, February 14, 2018 12:52:10 PM
To: Sathesh S
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Disable /Suppress hostname checks while secured LDAP

Hi satheesh,

Instead of ldap authentication method you can also use other methods like md5, and if it's trusted server u can use trust authentication method etc. Please refer the documentation regarding different authentication methods in pg_hba.conf file

On Feb 14, 2018 12:27 PM, "Sathesh S" <sathesh(dot)sundaram(at)hotmail(dot)com<mailto:sathesh(dot)sundaram(at)hotmail(dot)com>> wrote:
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<http://dummy.company.com>"

This doesnt work - ldapserver="server1.dummy.company.com<http://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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message pavan95 2018-02-14 10:17:50 Calculation of Database Size in postgres
Previous Message Pavan Teja 2018-02-14 07:22:10 Re: Disable /Suppress hostname checks while secured LDAP