Re: Multiple LDAP Servers for ldap Authentication - Mailing list pgsql-general

From Christopher Browne
Subject Re: Multiple LDAP Servers for ldap Authentication
Date
Msg-id CAFNqd5U_VYMi0V6CTwB7gNX0YSXJE+a1gNgYCB31fDH65T3=VA@mail.gmail.com
Whole thread Raw
In response to RE: Multiple LDAP Servers for ldap Authentication  ("Kumar, Virendra" <Virendra.Kumar@guycarp.com>)
Responses RE: Multiple LDAP Servers for ldap Authentication  ("Kumar, Virendra" <Virendra.Kumar@guycarp.com>)
List pgsql-general
On Thu, 20 Dec 2018 at 16:17, Kumar, Virendra
<Virendra.Kumar@guycarp.com> wrote:
>
> I figured it out, this is how it works:
> --
> host    all     all                            0.0.0.0/0              ldap ldapserver=server1.com
ldapserver=server2.comldapprefix=PROD01\
 
>
> So documentation need some update.

Looking at the docs (doc/src/sgml/client-auth.sgml), it appears to be
correct, though it is somewhat ambiguous in that I'd expect
"ldapserver=server1.com server2.com" to be OK rather than needing
"ldapserver=server1.com ldapserver2.com" instead.  I'm not certain of
a way to explain this better.

     <varlistentry>
      <term><literal>ldapserver</literal></term>
      <listitem>
       <para>
        Names or IP addresses of LDAP servers to connect to. Multiple
        servers may be specified, separated by spaces.
       </para>
      </listitem>
     </varlistentry>

Perhaps the attached?


-- 
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"

Attachment

pgsql-general by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: Wals not recycling
Next
From: Adrian Klaver
Date:
Subject: Re: Change from 9.6 to 11?