git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d3ada
)
s3:pdb_ads: we need to make the fd for tldap/tsocket non-blocking
author
Stefan Metzmacher
<metze@samba.org>
Mon, 29 Jun 2009 14:31:31 +0000
(16:31 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 29 Jun 2009 20:18:14 +0000
(22:18 +0200)
metze
source3/passdb/pdb_ads.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ads.c
b/source3/passdb/pdb_ads.c
index b7c42c58c9baacc13e2ca3ea171884e9c2105bee..be4b4b26d8030fb1325009f5fbe6500b816afd75 100644
(file)
--- 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);