Search Postgresql Archives

Re: Multiple LDAP Servers for ldap Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 20 Dec 2018 at 16:17, Kumar, Virendra
<Virendra.Kumar@xxxxxxxxxxx> wrote:
>
> I figured it out, this is how it works:
> --
> host    all     all                            0.0.0.0/0              ldap ldapserver=server1.com ldapserver=server2.com ldapprefix=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?"
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml
index c2114021c3..48643d2cb6 100644
--- a/doc/src/sgml/client-auth.sgml
+++ b/doc/src/sgml/client-auth.sgml
@@ -1490,7 +1490,7 @@ omicron         bryanh                  guest1
       <listitem>
        <para>
         Names or IP addresses of LDAP servers to connect to. Multiple
-        servers may be specified, separated by spaces.
+        servers may be specified, each <literal>ldapserver=servername</literal> separated by whitespace.
        </para>
       </listitem>
      </varlistentry>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux