From ce8159b30e751c9856e983c5b351741ce4b14558 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 29 Jun 2009 16:31:31 +0200 Subject: s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking metze --- source3/passdb/pdb_ads.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') 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); -- cgit