Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ga49i-0003La-1Q for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 19:38:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ga49g-0006ij-Qt for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 19:38:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ga49g-0006cF-Am for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 19:38:48 +0000 Received: from mx12.marsh.com ([205.156.137.72]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ga49a-0002wY-7L for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 19:38:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=guycarp.com; i=@guycarp.com; q=dns/txt; s=09212017; t=1545334721; x=1576870721; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=vz900LaV3qtnRhdHro3uWlel4fsxtmcHnKLH4pAYvu0=; b=C6wKRtfBggh19BDQ07WXOxKejDcRix+Uf1Cj6F2owwVgUCMB7S/ZqDz0 m/FFXBP63Kfx7AZIOATXxHdyQi5MxgPwkTKw1FHYxDXewgK4KhsyN3nGB ieQjTiI5gHEv4n314WoE9jjx58RIAytzuy/nIZ+VXtVwRcm4brzQwKTPY bd9eoPPP6kwGkNrs+LNVd/JyhlhgOLOTQMvfCp06Dc0P1KvP/sAMGoAr1 il+YKF6tS5kMlrG/JPPUXMb20kD1g0bkE5sfdGLEFBQ3kbpiTQZelx7ME viXti9uHvh2MMP5zRSnYbHpk6svtBEznzm3it0SRod411zdwNYJWyaNNn A==; X-SBRS: None X-sendergroup: RELAYLIST X-recvListener: outgoingmarshmail X-Policy: $RELAYED X-Hostname: usdfwmx12.us.mrshmc.com X-IronPort-AV: E=Sophos;i="5.56,378,1539648000"; d="scan'208";a="237993112" Received: from usdfw21as121v.mrshmc.com (HELO localhost) ([10.23.58.231]) by usdfwmx12.us.mrshmc.com with ESMTP; 20 Dec 2018 19:38:08 +0000 Received: from USDFW21AS402v.mrshmc.com (usdfw21as402v.mrshmc.com [10.23.59.146]) by localhost (RSA Interceptor); Thu, 20 Dec 2018 13:38:01 -0600 Received: from USFKL11XG20CN06.mercer.com (unknown [10.2.139.26]) by USDFW21AS402v.mrshmc.com with smtp id d8b0_6348_63aeb429_16d7_4dab_bc37_ff810395a361; Thu, 20 Dec 2018 19:38:00 +0000 Received: from USFKL11XG20CN01.mercer.com (10.2.139.21) by USFKL11XG20CN06.mercer.com (10.2.139.26) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 20 Dec 2018 14:38:00 -0500 Received: from USFKL11XG20CN01.mercer.com ([10.2.139.21]) by USFKL11XG20CN01.mercer.com ([10.2.139.21]) with mapi id 15.00.1395.000; Thu, 20 Dec 2018 14:38:01 -0500 From: "Kumar, Virendra" To: Alvaro Herrera CC: "pgsql-general@lists.postgresql.org" Subject: RE: Multiple LDAP Servers for ldap Authentication Thread-Topic: Multiple LDAP Servers for ldap Authentication Thread-Index: AdSYfP3QnSJx8rPuSQWj5iaRg6QNXQARhwEAAAnoziA= Date: Thu, 20 Dec 2018 19:38:00 +0000 Message-ID: <94be2b69bd3d498c8579f95ff7a2f3eb@USFKL11XG20CN01.mercer.com> References: <20181220192122.xz3kdlkbhwz5qoe3@alvherre.pgsql> In-Reply-To: <20181220192122.xz3kdlkbhwz5qoe3@alvherre.pgsql> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.7.131.67] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RCIS-Action: ALLOW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Comman separated doesn't work as well. Regards, Virendra -----Original Message----- From: Alvaro Herrera [mailto:alvherre@2ndquadrant.com] Sent: Thursday, December 20, 2018 2:21 PM To: Kumar, Virendra Cc: pgsql-general@lists.postgresql.org Subject: Re: Multiple LDAP Servers for ldap Authentication On 2018-Dec-20, Kumar, Virendra wrote: > I am going through ldap authentication documents in PostgreSQL and found = that we can specify multiple ldap servers but sure how. I have put two entr= ies in double quotes like below: > -- > host all all 0.0.0.0/0 lda= p ldapserver=3D"server1.com server2.com" ldapprefix=3DPROD01\ Does it work if you change the string this way? ldapserver=3D"server1.com, server2.com" -- =C1lvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services ________________________________ This message is intended only for the use of the addressee and may contain information that is PRIVILEGED AND CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the messag= e and its attachments and notify the sender immediately. Thank you.