Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elrhH-0008NU-U5 for pgsql-admin@arkaria.postgresql.org; Wed, 14 Feb 2018 07:41:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elrhG-0000wf-AG for pgsql-admin@arkaria.postgresql.org; Wed, 14 Feb 2018 07:41:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1elrhF-0000wV-RU for pgsql-admin@lists.postgresql.org; Wed, 14 Feb 2018 07:41:42 +0000 Received: from mail-oln040092068081.outbound.protection.outlook.com ([40.92.68.81] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elrhB-00043C-A6 for pgsql-admin@postgresql.org; Wed, 14 Feb 2018 07:41:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DybD/DQ9dhhTwYOQfFnwSmSzmNKzKjCX1xPe+/hgvFU=; b=V6yUR6VckoVQe33XlEq73JDm2fiuAY9wLfyGPQ/khOIDOWyqHrae3nhg6O5uUnqa4aAVGBPed4/OVp39Dlkuh82me6hxN0lEi3JIGcIrQQEmUGZqnIcG6S1memNaUCZCEHGrfnQFU0btJ+Q0A2uQ2D5Rl73DlVQrB1MSejA4wIjJA7yc4PFkz9X5Kv2Ny2/yG7sXKm/8dua5t0BiPPnY0BggqvDmfJOBO9VjuYTh/EEsJzdGuOesPeFDhxf1VWYcQpR3MIKv/xAdIZ0ZSpB+lAbq+KBqgBanly0vEpUbStzvZagXZy6NDI54QzAYTUmeuGt9yfRfczqm05qVWIyeQw== Received: from HE1EUR02FT024.eop-EUR02.prod.protection.outlook.com (10.152.10.55) by HE1EUR02HT173.eop-EUR02.prod.protection.outlook.com (10.152.10.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.485.12; Wed, 14 Feb 2018 07:41:35 +0000 Received: from DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM (10.152.10.53) by HE1EUR02FT024.mail.protection.outlook.com (10.152.10.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.485.12 via Frontend Transport; Wed, 14 Feb 2018 07:41:34 +0000 Received: from DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM ([fe80::7d33:8af7:551c:e005]) by DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM ([fe80::7d33:8af7:551c:e005%13]) with mapi id 15.20.0485.017; Wed, 14 Feb 2018 07:41:34 +0000 From: Sathesh S To: Pavan Teja CC: "pgsql-admin@postgresql.org" Subject: Re: Disable /Suppress hostname checks while secured LDAP Thread-Topic: Disable /Suppress hostname checks while secured LDAP Thread-Index: AQHTpWEVjAhKGrLTvkKHTQrhGcGD1aOjfksAgAAFbAE= Date: Wed, 14 Feb 2018 07:41:34 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:49393F2C0C18AF36437C2A166583F14D3F442CC5BEAC8284977E1C322052EBDD;UpperCasedChecksum:DCB5A277CAC177FCBE983B7A3438B4D6D8074ED5B4739647037FA7F271CB65A5;SizeAsReceived:7227;Count:47 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [ADHnwbLdAF2zzNe/7rN61ppegoeFbAzH] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1EUR02HT173;6:bis6wdawSWAeYgJHkW9NBPAMkIsYUXNVwqLC+w3pql8ZWd9wwYlCbR8+jmlN7oSneGz1mjUZjl0NoLUMYvKJfG2s74Qw81+BtW100fpB0dXnx5cHpyXTEuz6MCtQ43EsIYeNAA5t1jRgvDhJo5Y5vFaLl5VTV9Jt0YPRA5m8QCwZAeptGNx8bumpId3JccrB1gKL1iD5jAzc52nMgO4+ZcPceshW4DyPy/eFF07gjXPed2Rhsc0eRlZznkBsdDf28BZQN4xgB3LNRR6yVu6y90wgoPfDdpLtUoQP6Y1DOmmmS6WdTz172X2/YMU33FbKiCERqGJU3IhjpYvIRv/DNw+O7Pi1EUKi3K/cFsPXRwo=;5:TicqEJh9edt3mACxGtMi3qReQJjPqyd3i+jJsKAvquj+KKl7orC3OUfuwyQ6gVT4NH4isZD1ph388fBffL732Z4WCqU2bnlHb9Pwp+Xs0VtjhoutngyKMptWFx197mqZ3bBX9tqJ6TTtZ3ZsWu5/68zaC0jRPjz/tithNogWdVQ=;24:srB0JEDPp0TanwgJBJdAa/Xd8ikMWcg1sh9sk6tZAHW1WyHsNEMVcbhNDAzDftFvsueF5ZLDxSyNWnSoyUvY0NutBIB+IIBJBa/3X/yzTBo=;7:HG6e+LD38t80iPEODMWa6l+ujBlXwFdD3EwX/nPgq3U6RRPEQmhAu6DPiX2tKVHdVoNcdbX4oFMlp0RczF/oiSWurY/AZeq6KbqYyAlRHs8iFpomO6KXijsy0EbJ6RfzlFGyoYEXQAGT3qPWg9Vcr7BMoGjCHEchSqMvP0faoLlMdzLmIY+JBa/Y/EKSKtk2yF0PL73stCcJfLtNq75dcTO6GZ2N0fCetfU9uk1SmLajlvI/k+zVf71fWGExkS3A x-incomingheadercount: 47 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045);SRVR:HE1EUR02HT173; x-ms-traffictypediagnostic: HE1EUR02HT173: x-ms-office365-filtering-correlation-id: f7359b79-fb98-4d38-3378-08d5737e5f98 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444000031);SRVR:HE1EUR02HT173;BCL:0;PCL:0;RULEID:;SRVR:HE1EUR02HT173; x-forefront-prvs: 0583A86C08 x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:HE1EUR02HT173;H:DB6PR10MB1846.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_DB6PR10MB1846B06753C8AA18396A7FDB82F50DB6PR10MB1846EURP_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7359b79-fb98-4d38-3378-08d5737e5f98 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2018 07:41:34.9051 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT173 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_DB6PR10MB1846B06753C8AA18396A7FDB82F50DB6PR10MB1846EURP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Pavan, We have to use LDAP to comply with our standards. Any suggestions on suppre= ssing hostname check would be helpful. Thanks, Sathesh ________________________________ From: Pavan Teja 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 m= d5, and if it's trusted server u can use trust authentication method etc. P= lease refer the documentation regarding different authentication methods in= pg_hba.conf file On Feb 14, 2018 12:27 PM, "Sathesh S" > wrote: Hello All, Is there a way to disable/suppress hostname checks in while using Secured L= DAP in postgreSQL for authentication. The issue what we have is that the LDAP certificate what we are using is wo= rking 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=3D"ldaps//dummy.company.com" This doesnt work - ldapserver=3D"server1.dummy.company.com" Our internal LDAP team says that we nees to disable/suppress the hostname c= hecking 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 --_000_DB6PR10MB1846B06753C8AA18396A7FDB82F50DB6PR10MB1846EURP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Pavan,

We have to use LDAP to comply with our standards. Any suggestions on suppre= ssing 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 ot= her methods like md5, and if it's trusted server u can use trust authentica= tion method etc. Please refer the documentation regarding different authent= ication methods in pg_hba.conf file

On Feb 14, 2018 12:27 PM, "Sathesh S" = <sathesh.sundaram@hotmai= l.com> wrote:
Hello All,

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

The issue what we have is that the LDAP certificate what we are using is wo= rking 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=3D"ldaps//dummy.company.com"

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

Our internal LDAP team says that we nees to disable/suppress the hostname c= hecking 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
--_000_DB6PR10MB1846B06753C8AA18396A7FDB82F50DB6PR10MB1846EURP_--