summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/includes.h3
-rw-r--r--source4/lib/socket/connect.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 9ecfd20422..85a023338a 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -83,6 +83,9 @@
#define HAVE_ADS
#endif
+/* tell ldb we have the internal ldap code */
+#define HAVE_ILDAP 1
+
/*
* Define VOLATILE if needed.
*/
diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c
index e7f2a11daf..abe474720c 100644
--- a/source4/lib/socket/connect.c
+++ b/source4/lib/socket/connect.c
@@ -56,7 +56,8 @@ NTSTATUS socket_connect_ev(struct socket_context *sock,
status = socket_connect(sock, my_address, my_port,
server_address, server_port, flags);
- if (NT_STATUS_IS_ERR(status)) {
+ if (NT_STATUS_IS_ERR(status) &&
+ !NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
return status;
}