Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36d35a1

Browse files
committed
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.
1 parent5e37b4c commit36d35a1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎doc/src/sgml/client-auth.sgml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.97 2007/01/31 20:56:16 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.98 2007/03/24 21:46:23 momjian Exp $ -->
22

33
<chapter id="client-authentication">
44
<title>Client Authentication</title>
@@ -929,9 +929,13 @@ omicron bryanh guest1
929929
<synopsis>
930930
ldap[<replaceable>s</>]://<replaceable>servername</>[:<replaceable>port</>]/<replaceable>base dn</replaceable>[;<replaceable>prefix</>[;<replaceable>suffix</>]]
931931
</synopsis>
932-
for example:
932+
Commas are used to specify multiple items in an <literal>ldap</>
933+
component. However, because unquoted commas are treated as item
934+
separators in <filename>pg_hba.conf</filename>, it is wise to
935+
double-quote the <literal>ldap</> URL to preserve any commas present,
936+
e.g.:
933937
<synopsis>
934-
ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\
938+
"ldap://ldap.example.net/dc=example,dc=net;EXAMPLE\"
935939
</synopsis>
936940

937941
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp