We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69835bc commit 1a2fdc9Copy full SHA for 1a2fdc9
src/backend/libpq/auth.c
@@ -2398,6 +2398,11 @@ InitializeLDAPConnection(Port *port, LDAP **ldap)
2398
#define LPH_USERNAME "$username"
2399
#define LPH_USERNAME_LEN (sizeof(LPH_USERNAME) - 1)
2400
2401
+/* Not all LDAP implementations define this. */
2402
+#ifndef LDAP_NO_ATTRS
2403
+#define LDAP_NO_ATTRS "1.1"
2404
+#endif
2405
+
2406
/*
2407
* Return a newly allocated C string copied from "pattern" with all
2408
* occurrences of the placeholder "$username" replaced with "user_name".
0 commit comments