git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
737d59a
)
r12178: Make ldb_ildap work against localhost again, by setting the event
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 11 Dec 2005 08:27:14 +0000
(08:27 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:47:16 +0000
(13:47 -0500)
context into the ldb opaque. I'm sure this was done before, and must
have been lost by some other change.
Andrew Bartlett
(This used to be commit
dddedf13717e860bda0dadd8a1dfc4f891e355b5
)
source4/lib/db_wrap.c
patch
|
blob
|
history
diff --git
a/source4/lib/db_wrap.c
b/source4/lib/db_wrap.c
index 482b6f17b53c604a1e9e62529b9c888c3d090051..974490f8b2a99e121728fbde05e08a1a5bc7fdcd 100644
(file)
--- a/
source4/lib/db_wrap.c
+++ b/
source4/lib/db_wrap.c
@@
-79,6
+79,10
@@
struct ldb_context *ldb_wrap_connect(TALLOC_CTX *mem_ctx,
the main event_context */
ev = event_context_find(ldb);
+ if (ldb_set_opaque(ldb, "EventContext", ev)) {
+ return NULL;
+ }
+
ret = ldb_register_samba_handlers(ldb);
if (ret == -1) {
talloc_free(ldb);