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 1ga3t2-0002Th-V9 for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 19:21:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ga3t1-0004fK-5T for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 19:21:35 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1ga3t0-0004fA-Or for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 19:21:34 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ga3ss-0006RD-S2 for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 19:21:33 +0000 Received: by mail-qt1-x844.google.com with SMTP id e5so3056429qtr.12 for ; Thu, 20 Dec 2018 11:21:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=zcQJs65NIkmTaDNTdgXd7YtJqfMPr8ajkPCHWHMwSXc=; b=h/rpgQ/bxfjzFxe0d+RqwjT8s5W9NWWvltdxjj2TNLXG9oMx95UQWV5sKoxzmePYcf FE7PjspMJEE7FJVMMK77E1zXreXMOebDE06O2iqJjzZ+k1Y2MpkzC8u3hEwVHpn1wfpc 1VjGmwHN2xilGTumW5+JcLk3jr3IH5CNtgFCg879paUCS+Cr2CYKIxPlCMMYQcx1SytQ jnPWJf7/hhL2bZxxeYWZ5xkr3orv68gyoRVLo8wmqSOyHPMPaQ9dySRVm6Zc3sZ3nXJ1 jXDnPJwVpbXfqnrbsI09gbTx5CdNlqwfBbdl83TYTMNUNfgFSReEu06iGi6R3qVTKE74 +zfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=zcQJs65NIkmTaDNTdgXd7YtJqfMPr8ajkPCHWHMwSXc=; b=BC+kTGJqVV3MHnDRQgEQGDBrvx2dPqw2EIFiakBBXVKeVkIsEQnCNWfa/1uMUUgqQ+ IJ1/LjKIPf5+VM+jvnU6nhrumNvxChtNPl8B0qyl6z6Gxscj0aoU+Ojew7qIMLt+G8F+ raIJs4m4nsG4B6cRZ5jHi/Vwbtc6jIeRarrx4YNWv99ipOQVSN8sYqRz/ou0Deggub81 geHvHkVetLJpquGXxX46VoRthK5md7oHmc9mCYdO5xerka//v/BRKXkjhx8Rg9hi7YAm tOWV4Uhw9p2QogCr9Pr+ezz99bz/986sNtaZSzW0N5TjHl4qjXyipdGVY/xbqaMbVYp0 ateg== X-Gm-Message-State: AA+aEWZ2omgyXtMvv6+UBDoSnOVMlsC7/Tu2xf0+HVLx8tSehtWLpzji 7MJkUjiAwHNZwbhser4pnPOFyg== X-Google-Smtp-Source: AFSGD/XTAqO7rl4oLhStPcKcO5DCmBQ+vNC3JfKCVR9iH0fDV737dhqDEl1uCT+S7PmgFnBs0/75qg== X-Received: by 2002:a0c:e202:: with SMTP id q2mr26463551qvl.180.1545333685085; Thu, 20 Dec 2018 11:21:25 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id w184sm2989173qkw.90.2018.12.20.11.21.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Dec 2018 11:21:24 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 9419B6A7; Thu, 20 Dec 2018 16:21:22 -0300 (-03) Date: Thu, 20 Dec 2018 16:21:22 -0300 From: Alvaro Herrera To: "Kumar, Virendra" Cc: "pgsql-general@lists.postgresql.org" Subject: Re: Multiple LDAP Servers for ldap Authentication Message-ID: <20181220192122.xz3kdlkbhwz5qoe3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 entries in double quotes like below: > -- > host all all 0.0.0.0/0 ldap ldapserver="server1.com server2.com" ldapprefix=PROD01\ Does it work if you change the string this way? ldapserver="server1.com, server2.com" -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services