diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-03-24 21:46:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-03-24 21:46:25 +0000 |
commit | 720a9cc0e55b3b2a5136cf59f339ddd7a627599c (patch) | |
tree | ada1b23ca37998fb20bed16a526bef3f9166c786 | |
parent | 1e0cba90fd535f5bbe866394ebf98f7e1b1cfde3 (diff) | |
download | postgresql-720a9cc0e55b3b2a5136cf59f339ddd7a627599c.tar.gz postgresql-720a9cc0e55b3b2a5136cf59f339ddd7a627599c.zip |
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.
-rw-r--r-- | doc/src/sgml/client-auth.sgml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index 4b7c2c47093..b5245e753ff 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.96 2006/11/23 05:39:17 momjian Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.96.2.1 2007/03/24 21:46:25 momjian Exp $ --> <chapter id="client-authentication"> <title>Client Authentication</title> @@ -929,9 +929,13 @@ omicron bryanh guest1 <synopsis> ldap[<replaceable>s</>]://<replaceable>servername</>[:<replaceable>port</>]/<replaceable>base dn</replaceable>[;<replaceable>prefix</>[;<replaceable>suffix</>]] </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> -ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\ +"ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\" </synopsis> </para> |