From: Stefan Metzmacher Date: Mon, 29 Jun 2009 14:31:31 +0000 (+0200) Subject: s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=ce8159b30e751c9856e983c5b351741ce4b14558 s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking metze --- diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index b7c42c58c9ba..be4b4b26d803 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);