Commit 7eb559a8 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Correct description of ldapurl

The ldapurl option doesn't actually support specifying a user name and
password.

Albe Laurenz
parent 0e690209
...@@ -1490,10 +1490,10 @@ omicron bryanh guest1 ...@@ -1490,10 +1490,10 @@ omicron bryanh guest1
<term><literal>ldapurl</literal></term> <term><literal>ldapurl</literal></term>
<listitem> <listitem>
<para> <para>
An RFC 4516 LDAP URL. This is an alternative way to write most of the An RFC 4516 LDAP URL. This is an alternative way to write some of the
other LDAP options in a more compact and standard form. The format is other LDAP options in a more compact and standard form. The format is
<synopsis> <synopsis>
ldap://[<replaceable>user</replaceable>[:<replaceable>password</replaceable>]@]<replaceable>host</replaceable>[:<replaceable>port</replaceable>]/<replaceable>basedn</replaceable>[?[<replaceable>attribute</replaceable>][?[<replaceable>scope</replaceable>]]] ldap://<replaceable>host</replaceable>[:<replaceable>port</replaceable>]/<replaceable>basedn</replaceable>[?[<replaceable>attribute</replaceable>][?[<replaceable>scope</replaceable>]]]
</synopsis> </synopsis>
<replaceable>scope</replaceable> must be one <replaceable>scope</replaceable> must be one
of <literal>base</literal>, <literal>one</literal>, <literal>sub</literal>, of <literal>base</literal>, <literal>one</literal>, <literal>sub</literal>,
...@@ -1502,6 +1502,12 @@ ldap://[<replaceable>user</replaceable>[:<replaceable>password</replaceable>]@]< ...@@ -1502,6 +1502,12 @@ ldap://[<replaceable>user</replaceable>[:<replaceable>password</replaceable>]@]<
not supported. not supported.
</para> </para>
<para>
For non-anonymous binds, <literal>ldapbinddn</literal>
and <literal>ldapbindpasswd</literal> must be specified as separate
options.
</para>
<para> <para>
To use encrypted LDAP connections, the <literal>ldaptls</literal> To use encrypted LDAP connections, the <literal>ldaptls</literal>
option has to be used in addition to <literal>ldapurl</literal>. option has to be used in addition to <literal>ldapurl</literal>.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment