Author: abartlet Date: 2005-12-11 08:27:14 +0000 (Sun, 11 Dec 2005) New Revision: 12178
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12178 Log: Make ldb_ildap work against localhost again, by setting the event context into the ldb opaque. I'm sure this was done before, and must have been lost by some other change. Andrew Bartlett Modified: branches/SAMBA_4_0/source/lib/db_wrap.c Changeset: Modified: branches/SAMBA_4_0/source/lib/db_wrap.c =================================================================== --- branches/SAMBA_4_0/source/lib/db_wrap.c 2005-12-11 05:06:35 UTC (rev 12177) +++ branches/SAMBA_4_0/source/lib/db_wrap.c 2005-12-11 08:27:14 UTC (rev 12178) @@ -79,6 +79,10 @@ 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);
