summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb_wrap.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-284/+0
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s4:dsdb Rework schema loading and add schema reloadingAndrew Bartlett2010-03-221-1/+4
| | | | | | | | | | | | | | | | | This commit reworks Samba4's schema loading code to detect when it needs to reload the schema. This is done by watching the @REPLCHANGED special DN. The reload happens by means of a callback, which is only set when the schema is loaded from the ldb - not when loaded from an LDIF file or DRS. We also rework the global schema handling - instead of storing the pointer to the global schema in each ldb, we store a flag indicating that the global schema should be returned at run time. This makes it much easier to switch to a new global schema. Andrew Bartlett
* ldb_wrap: Fix compilation when using system ldb.Jelmer Vernooij2009-12-211-1/+1
|
* s4-dsdb: call dsdb_make_schema_global() from ldb_wrapAndrew Tridgell2009-10-271-0/+5
| | | | | | | Calling it from samdb_connect() can cause a stale schema to be put into the global schema. Thanks to Andrew Bartlett for spotting this.
* s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.cAndrew Tridgell2009-10-231-1/+8
|
* s4-ldb: use ldb_wrap_fork_hook() to cancel child transactionsAndrew Tridgell2009-10-231-1/+5
|
* s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell2009-10-231-27/+96
| | | | | | | | | This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
* s4-samdb: enable ldb tracing when log level >= 10Andrew Tridgell2009-09-211-0/+4
|
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
* LDB ASYNC: misc changesSimo Sorce2008-09-291-12/+1
|
* Revert LDB return code patches from Matthias.Jelmer Vernooij2008-09-251-1/+1
|
* Cosmetic corrections for the DSDB moduleMatthias Dieter Wallnöfer2008-09-241-1/+1
| | | | This commit applies some cosmetic corrections for the DSDB (Directory Server Database).
* Push loading the objectGUID and objectSID handlers earlier.Andrew Bartlett2008-08-211-4/+8
| | | | | Andrew Bartlett (This used to be commit 0b6e53f80b063d8702718c84409d7b069aee9c05)
* Make up the right dependencies now that ldb depends on libeventsSimo Sorce2008-06-141-7/+16
| | | | (This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
* Fix an uninitialized variable warningVolker Lendecke2008-05-161-1/+1
| | | | (This used to be commit b3d024676426000380ad86a2a4b83e7b21478978)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-1/+1
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-5/+4
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.Andrew Kroeger2008-03-061-1/+1
| | | | (This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)
* r26593: - More work on the python versions of samba3dump and the samba3sam ↵Jelmer Vernooij2007-12-261-1/+1
| | | | | | | | tests. - Initial work converting the upgrade code to Python. - Removed the old EJS upgrade code because it has been broken for a long time. (This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)
* r26229: Set loadparm context as opaque pointer in ldb, remove more uses of ↵Jelmer Vernooij2007-12-211-0/+5
| | | | | | global_loadparm. (This used to be commit 37d05fdc7b0e6b3211ba6ae56b1b5da30a6a392a)
* r26200: Bring back some accidently removed files.Jelmer Vernooij2007-12-211-0/+186
| | | | (This used to be commit a71e40ab5dc7f0a5f6d2d1eb930f378cd143b186)
* r26197: Add bindings for libsecurity.Jelmer Vernooij2007-12-211-186/+0
| | | | (This used to be commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)
* r26018: dsdb/schema/proto.h doesn't exist anymoreStefan Metzmacher2007-12-211-1/+0
| | | | | metze (This used to be commit 3b8215270ce477442dd98a4e4d26b5fcea73f98f)
* r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij2007-12-211-0/+187
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)