Content-Length: 263148 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7d1b8e7591690fb68cc53553e0f13b537b5455dc

A4 Attempt to fix LDAP build · postgrespro/postgres_cluster@7d1b8e7 · GitHub
Skip to content

Commit 7d1b8e7

Browse files
committed
Attempt to fix LDAP build
Apparently, an older spelling of LDAP_OPT_DIAGNOSTIC_MESSAGE is LDAP_OPT_ERROR_STRING, so fall back to that one.
1 parent cf1238c commit 7d1b8e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/backend/libpq/auth.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,12 @@ ULONG (*__ldap_start_tls_sA) (
141141
#endif
142142

143143
static int CheckLDAPAuth(Port *port);
144+
145+
/* LDAP_OPT_DIAGNOSTIC_MESSAGE is the newer spelling */
146+
#ifndef LDAP_OPT_DIAGNOSTIC_MESSAGE
147+
#define LDAP_OPT_DIAGNOSTIC_MESSAGE LDAP_OPT_ERROR_STRING
148+
#endif
149+
144150
#endif /* USE_LDAP */
145151

146152
/*----------------------------------------------------------------

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/7d1b8e7591690fb68cc53553e0f13b537b5455dc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy