JH/23 Logging: with the +tls_sni log_selector, do not wrap the received SNI
in quotes.
+JH/26 Bug 2646: fix a memory usage issue in ldap lookups. Previously, when more
+ than one server was defined and depending on the platform memory layout
+ details, an internal consistency trap could be hit while walking the list
+ of servers.
+
Exim version 4.94
-----------------
uschar *local_servers = NULL;
uschar *server;
const uschar *list;
-uschar buffer[512];
while (isspace(*url)) url++;
/* Loop through the default servers until OK or FAIL. Use local_servers list
* if defined in the lookup, otherwise use the global default list */
list = !local_servers ? eldap_default_servers : local_servers;
-while ((server = string_nextinlist(&list, &sep, buffer, sizeof(buffer))))
+while ((server = string_nextinlist(&list, &sep, NULL, 0)))
{
int rc;
int port = 0;
r1:
driver = redirect
- data = ${lookup ldap user="cn=xxx,o=yyy,c=UK" pass="secret" \
+ data = ${lookup ldap {USER="cn=xxx,o=yyy,c=UK" PASS="secret" \
ldap:///o=zzz,c=UK,?sn?sub?(cn=foo)}}