commas are often present in the URL.
Backpatch to 8.2.X.
-
+
Client Authentication
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\"