pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sathesh S <sathesh.sundaram@hotmail.com>
To: Pavan Teja <pavan.postgresdba@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Disable /Suppress hostname checks while secured LDAP
Date: Wed, 14 Feb 2018 07:41:34 +0000
Message-ID: <DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CACh9nsYrhQG1UG=x_u7-3PCkRv8hCQB-+Sd0mNvrV0Ue93JCNA@mail.gmail.com>
References: <DB6PR10MB1846529979DDF09DE728FE2D82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM>
	<CACh9nsYrhQG1UG=x_u7-3PCkRv8hCQB-+Sd0mNvrV0Ue93JCNA@mail.gmail.com>

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.postgresdba@gmail.com>
Sent: Wednesday, February 14, 2018 12:52:10 PM
To: Sathesh S
Cc: pgsql-admin@postgresql.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.sundaram@hotmail.com<mailto:sathesh.sundaram@hotmail.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

view thread (6+ messages)  latest in thread

Message-ID: <DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM>
Permalink:  ../DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM

 · 

reply

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-admin@postgresql.org
  Cc: sathesh.sundaram@hotmail.com, pavan.postgresdba@gmail.com
  Subject: Re: Disable /Suppress hostname checks while secured LDAP
  In-Reply-To: <DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM>
  References: <DB6PR10MB1846529979DDF09DE728FE2D82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM> <CACh9nsYrhQG1UG=x_u7-3PCkRv8hCQB-+Sd0mNvrV0Ue93JCNA@mail.gmail.com> <DB6PR10MB1846B06753C8AA18396A7FDB82F50@DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.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