| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | ldapi support |
| Date: | 2018-02-09 03:05:06 |
| Message-ID: | ce66dfcf-09c1-caac-2f79-29f194e9b3a2@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
After the LDAP code was switched to use ldap_initialize() as part of the
ldaps support, ldapi (LDAP over Unix-domain sockets) also works. I
noticed an old bug report (#13625) that asked for it. So I suggest this
patch to document this and add some tests.
One flaw is that this only works when using the URL syntax. Providing a
separate option would require coding URL escaping, since ultimately an
URL must be composed and passed to ldap_initialize(). But since
OpenLDAP apparently now considers URLs to be the preferred form for
connection parameters, I'm comfortable just sticking to that format.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Document-support-for-LDAP-over-Unix-domain-sockets-l.patch | text/plain | 4.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2018-02-09 03:44:50 | Creation of wiki page for open items of v11 |
| Previous Message | Etsuro Fujita | 2018-02-09 01:48:10 | Re: postgres_fdw: perform UPDATE/DELETE .. RETURNING on a join directly |