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 1ga4sl-0005hu-Id for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 20:25:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ga4sk-0003m6-7x for pgsql-general@arkaria.postgresql.org; Thu, 20 Dec 2018 20:25:22 +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 1ga4sj-0003km-NI for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 20:25:22 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ga4sg-0003yD-6L for pgsql-general@lists.postgresql.org; Thu, 20 Dec 2018 20:25:20 +0000 Received: by mail-qt1-x841.google.com with SMTP id n32so3275957qte.11 for ; Thu, 20 Dec 2018 12:25:17 -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=VhMPbIyNpQNCFHURD/T6iHhTwA1gOPcz2HtIQWB6AHU=; b=Cqkke5FwpCarBHOiUJMrWxFT14iPsXhhAbeVGHmxKO27TiEErtqeTRq+d+eSRwAgGP UqvmHIaVKeWcBGZuEuK587Dm2kumKT/3sgSazASqeN5655tKUwchdyJIRrr6c03Wnwa9 lPUcbbG153o4EkCqUOpuXRtaeH6aRbEn6H5jg1I78CTtaloT43DWEQawXMDXcLIK3uDg LWSZ6pmskedX/r4zRGsWsb0hTeHLxgZ2z0W+u9pb0ecytgETtKwQxEYzh1mEG06BS+Y1 qJv//63sGtSFbpJfUBnYwoqF7nxv25JnDUxmYA3sHn0rWK8g/7t/6bZ+VvnbLPNSknHB tqYQ== 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=VhMPbIyNpQNCFHURD/T6iHhTwA1gOPcz2HtIQWB6AHU=; b=a5Ms6JCIxwmrCYefHlw4Ui1lCpq1PnCcLYbw2hnkX65k0N90raGwq0nsnDW6/9CBHT GGWE5+ji+TilTrumlqATEu3V61+Pcrw2D4gn/SHmeU5atsS6eNjFyYgvpkV3PdLVBqL8 kEmAt4MdID3RFqeuPl47Dy7K0+7R3EWEDHtyojtmY+Utus7bB3udNcMuhuFYTBGZ2Xoq XOGbJQKbwQVYeHL42Xb7xNm5oDeVIFEhPn11CWN0w5i3ykhEbsFwXZ+J40lHUenfX6k6 4QchxlUsSk+R3sEHbwP/uw8R81PHMJ3c53kR6oZy9nTAIpNE2vsp3uTKiHrzYRjMd3U3 YKxQ== X-Gm-Message-State: AA+aEWZxaI29VRhgfsX1i00HbUQs24TyM5v0oLYqSZ2uooBqMcKS+R2C BkKO0EBSa+xPCRAhwGAA1zpyyQ== X-Google-Smtp-Source: AFSGD/WNfn3fM5VlNpzS+sliSHW5OTsoMkJ+lvE87m9t1iR56WS2JyzZNn4C5APNDdTWydK1ShLXHA== X-Received: by 2002:ac8:1243:: with SMTP id g3mr28170535qtj.139.1545337517301; Thu, 20 Dec 2018 12:25:17 -0800 (PST) Received: from alvin.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id i33sm3357554qtb.97.2018.12.20.12.25.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Dec 2018 12:25:16 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 9696E62D; Thu, 20 Dec 2018 17:25:14 -0300 (-03) Date: Thu, 20 Dec 2018 17:25:14 -0300 From: Alvaro Herrera To: "Kumar, Virendra" Cc: "pgsql-general@lists.postgresql.org" Subject: Re: Multiple LDAP Servers for ldap Authentication Message-ID: <20181220202514.khcglsktleb3y65c@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <94be2b69bd3d498c8579f95ff7a2f3eb@USFKL11XG20CN01.mercer.com> 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: > Comman separated doesn't work as well. Please separate by a comma and a space, not just a comma. My reading of the OpenLDAP source code, and some quick experiments comparing failure patterns, suggest that that exact combination may work. (OpenLDAP is not exactly well commented.) I think one problem you may or may not hit is the PostgreSQL authentication timeout expiring sooner than OpenLDAP is willing to try the second server. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services