Commit 36d35a14 authored by Bruce Momjian's avatar Bruce Momjian

Document that LDAP URLs should be double-quoted in pg_hba.conf because

commas are often present in the URL.

Backpatch to 8.2.X.
parent 5e37b4cb
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.97 2007/01/31 20:56:16 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.98 2007/03/24 21:46:23 momjian Exp $ -->
<chapter id="client-authentication"> <chapter id="client-authentication">
<title>Client Authentication</title> <title>Client Authentication</title>
...@@ -929,9 +929,13 @@ omicron bryanh guest1 ...@@ -929,9 +929,13 @@ omicron bryanh guest1
<synopsis> <synopsis>
ldap[<replaceable>s</>]://<replaceable>servername</>[:<replaceable>port</>]/<replaceable>base dn</replaceable>[;<replaceable>prefix</>[;<replaceable>suffix</>]] ldap[<replaceable>s</>]://<replaceable>servername</>[:<replaceable>port</>]/<replaceable>base dn</replaceable>[;<replaceable>prefix</>[;<replaceable>suffix</>]]
</synopsis> </synopsis>
for example: Commas are used to specify multiple items in an <literal>ldap</>
component. However, because unquoted commas are treated as item
separators in <filename>pg_hba.conf</filename>, it is wise to
double-quote the <literal>ldap</> URL to preserve any commas present,
e.g.:
<synopsis> <synopsis>
ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\ "ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\"
</synopsis> </synopsis>
</para> </para>
......
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