summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_ads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index b7c42c58c9..be4b4b26d8 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -2074,6 +2074,8 @@ static struct tldap_context *pdb_ads_ld(struct pdb_ads_state *state)
return NULL;
}
+ set_blocking(fd, false);
+
state->ld = tldap_context_create(state, fd);
if (state->ld == NULL) {
close(fd);