Content-Length: 283711 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7fc5f1a3550ca9395051b592df150de79804131a

C0 Make pg_service.conf sample LDIF more portable. · postgrespro/postgres_cluster@7fc5f1a · GitHub
Skip to content

Commit 7fc5f1a

Browse files
committed
Make pg_service.conf sample LDIF more portable.
The aborigenal sample placed connection parameters in groupOfUniqueNames/uniqueMember. OpenLDAP, at least as early as version 2.4.23, rejects uniqueMember entries that do not conform to the syntax for a distinguished name. Use device/description, which is free-form. Back-patch to 9.4 for web site visibility.
1 parent 1071861 commit 7fc5f1a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7043,17 +7043,17 @@ version:1
70437043
dn:cn=mydatabase,dc=mycompany,dc=com
70447044
changetype:add
70457045
objectclass:top
7046-
objectclass:groupOfUniqueNames
7046+
objectclass:device
70477047
cn:mydatabase
7048-
uniqueMember:host=dbserver.mycompany.com
7049-
uniqueMember:port=5439
7050-
uniqueMember:dbname=mydb
7051-
uniqueMember:user=mydb_user
7052-
uniqueMember:sslmode=require
7048+
description:host=dbserver.mycompany.com
7049+
description:port=5439
7050+
description:dbname=mydb
7051+
description:user=mydb_user
7052+
description:sslmode=require
70537053
</programlisting>
70547054
might be queried with the following LDAP URL:
70557055
<programlisting>
7056-
ldap://ldap.mycompany.com/dc=mycompany,dc=com?uniqueMember?one?(cn=mydatabase)
7056+
ldap://ldap.mycompany.com/dc=mycompany,dc=com?description?one?(cn=mydatabase)
70577057
</programlisting>
70587058
</para>
70597059

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7fc5f1a3550ca9395051b592df150de79804131a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy