diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-29 16:31:31 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-29 22:18:14 +0200 |
commit | ce8159b30e751c9856e983c5b351741ce4b14558 (patch) | |
tree | b24ca1694401e8f9a02226d77bc65ba636afbe6d | |
parent | 57d3ada2c94cb38c679d791f4e149319c83aa6d7 (diff) | |
download | samba-ce8159b30e751c9856e983c5b351741ce4b14558.tar.gz samba-ce8159b30e751c9856e983c5b351741ce4b14558.tar.bz2 samba-ce8159b30e751c9856e983c5b351741ce4b14558.zip |
s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking
metze
-rw-r--r-- | source3/passdb/pdb_ads.c | 2 |
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); |