From: Bruce Momjian Date: Sat, 24 Mar 2007 21:46:25 +0000 (+0000) Subject: Document that LDAP URLs should be double-quoted in pg_hba.conf because X-Git-Tag: REL8_2_4~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=720a9cc0e55b3b2a5136cf59f339ddd7a627599c;p=thirdparty%2Fpostgresql.git 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. --- 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 @@ - + Client Authentication @@ -929,9 +929,13 @@ omicron bryanh guest1 ldap[s]://servername[:port]/base dn[;prefix[;suffix]] - for example: + Commas are used to specify multiple items in an ldap + component. However, because unquoted commas are treated as item + separators in pg_hba.conf, it is wise to + double-quote the ldap URL to preserve any commas present, + e.g.: -ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\ +"ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\"