Age | Commit message (Collapse) | Author | Files | Lines |
|
just involves splitting up the core tdb.c code into separate files on
logical boundaries, but there are some minor functional changes as well:
- move the 'struct tdb_context' into tdb_private.h, hiding it from
users. This was done to allow the structure to change without
breaking code that uses tdb.
- added accessor functions tdb_fd(), tdb_name(), and tdb_log_fn() to
access the elements of struct tdb_context that were used by
external code but are no longer visible
- simplied tdb_append() to use tdb_fetch()/tdb_store(), which is just
as good due to the way tdb locks work
- changed some of the types (such as tdb_off to tdb_off_t) to make
syntax highlighting work better
- removed the old optional spinlock code. It was a bad idea.
- fixed a bug in tdb_reopen_all() that caused tdbtorture to sometimes
fail or report nasty looking errors. This is the only real bug
fixed in this commit. Jeremy/Jerry, you might like to pickup this
change for Samba3, as that could definately affect smbd in
Samba3.
The aim of all of these changes is to make the tdb
transactions/journaling code I am working on easier to write. I
started to write it on top of the existing tdb.c code and it got very
messy. Splitting up the code makes it much easier to follow.
There are more cleanups we could do in tdb, such as using uint32_t
instead of u32 (suggested by metze). I'll leave those for another day.
(This used to be commit 4673cdd0d261614e707b72a7a348bb0e7dbb2482)
|
|
I must say that writing a new module is a very good way
to find lot of subtle bugs laying in the code
We need more tests!
commit oLschema2ldif.c to keep it safe from data losses (rm -fr :-)
update test generic to reflect the fix made on comparsion functions
(This used to be commit 4357a2db5eadb15519ed93b957b2bad25ebf2a7d)
|
|
otherwise we get the wrong result when comparing upper
case chars with lower case chars
(This used to be commit f6ea6e9382f954be819ec82e28598cdf9cf88661)
|
|
Move auth-specific file to auth/
(This used to be commit 8aa9711a306b30da905f53148ebe352462852d74)
|
|
Add fdprintf() and vfdprintf() helper functions.
(This used to be commit 6685009f6af94b088084d69a43bcea5f8335ae57)
|
|
(This used to be commit 466e6812c35af9096fea05520c6b59a19793c4d1)
|
|
(This used to be commit e5d8d834600040793c1e45c7aaceb374df2b3839)
|
|
It is still far from being usable in samba4 but I want to commit
so that the work does not get lost by mistake.
This is also a good way to get comments if somebody is interested.
Sorry Derrell I ended up rewriting large parts of the code but I find
this style much more readable. Thanks for the hard work done. Your
work was a good reference for me.
ah the current code also shows some good numbers
sqlite3 generic test:
uid search took 0.05 seconds
real 0m12.492s
user 0m0.492s
sys 0m0.345s
with tdb we still get better numbers:
uid search took 0.46 seconds
real 0m0.892s
user 0m0.360s
sys 0m0.468s
but most of the time is spent in adding operations and I think
there's still a lot of space for improvement.
Simo.
(This used to be commit ace9990060c10d0931f418934b2121aea9512ff7)
|
|
(This used to be commit 8ddf4de162f42ed53ab0603dd0e1536796f9197e)
|
|
(This used to be commit b1ad340b4720e922ae1e332c2a74986b1656358b)
|
|
to cause an event to happen immediately. This allows metzes patch for
recognising IPs in resolve_name() to work, and also allows us to
remove some of the other code where we currently do specific checks
for is_ipaddress().
(This used to be commit 9cc000d868e1257ef6429f6f6f1f9d3c28ca330f)
|
|
(This used to be commit efc70d267285a94bcadd690ae4392d278cdeea94)
|
|
then a .pidl file.
(This used to be commit d8a31d3048a6421a3d49d3c121bc86d748838b3a)
|
|
(This used to be commit 05c020181560afd4e6957be29795536e2d83d71e)
|
|
rafal
(This used to be commit d6936185d5e4a85b188d5117d7a3b3d6bea2f96b)
|
|
This fixes the
standalone pidl build (as used for ethereal)
(This used to be commit 9c9ebd2214423c58357854f09bd744e13e807d8f)
|
|
(This used to be commit d99c9e2817fbbe2a0a34910672c8473889bc6176)
|
|
(This used to be commit de9830979788528754175b17fe45477e6ce9ce9e)
|
|
(This used to be commit 8d246fac49332426699e797f52ef694083b5e2ea)
|
|
(This used to be commit 0e358de93a007db921ad5e9a892114122254de39)
|
|
Remove save_hive() function (there is a flush_key function already).
Fixes for the allocation mechanism in the REGF backend
(This used to be commit 499d03bc90382bcd33c8c3a1577a58d2c76e5129)
|
|
(This used to be commit a924bec84b6d0a84db05c4315126474c9248fe2d)
|
|
Add support for showing security descriptor in regshell
Add support for saving files in NT4 registry backend
(This used to be commit 47cecd4726e6568f1aafb404646d2664f630a9bb)
|
|
(This used to be commit bcd433bfc1450317b75e22942dee1c42bb24ae79)
|
|
Initial support for adding keys (still broken though)
(This used to be commit ff8d3a27c1b9bb37de39e7d7b974702b2b8c4437)
|
|
(This used to be commit ea92959209fa256a8190df19e8c27b368169724f)
|
|
(This used to be commit b349e902c7b0140cd94e241ba9f81c83fa54f603)
|
|
(This used to be commit 0ad46ef804c0654e927f9c14ea93c45f9e3c718c)
|
|
(This used to be commit cf3be71c33ec8e43c883ce05fd1a63d1178446ad)
|
|
(This used to be commit abb0db12185a3b3ef7da16fa3d742336afeb8ef0)
|
|
Fix handling of REG_DWORD in the LDB backend.
Fix a couple of warnings
(This used to be commit 709fdc7ebf5a77cfb50359fad978884777decc3b)
|
|
(used in reg_backend_nt4.c rewrite)
(This used to be commit 5e1a16eda28d432b94dc933b44da3ca556f92fdf)
|
|
(This used to be commit 908ba892598af83ae2fbe661d40e9f10ff3e34a0)
|
|
[charset]
(This used to be commit b17478229e8e9220858fcc85a19ec751450f969d)
|
|
(This used to be commit 351149d160e893a3fdd4a5b11ec4b4b2bbf264a9)
|
|
(This used to be commit 994093b08ee463066c6bae494b10374bd700b0b0)
|
|
(This used to be commit 071dba2d0ae964e9901adf0c4870894deed43650)
|
|
Andrew Bartlett
(This used to be commit 664736e73df60ccfd24a41fda75031cb6b7d08cd)
|
|
Andrew Bartlett
(This used to be commit d6f57ec921839b46534eb64a7b6374161ff37835)
|
|
Andrew Bartlett
(This used to be commit b89e7a7fcdf80f2cab581f138358b4324d15d6bc)
|
|
Add SOC STATUS doc
(This used to be commit 152c1a37b536c65e0b816319304d1fb46c2dc5a8)
|
|
of special DN's when the rdn_name or timestamps modules were in use.
(This used to be commit c61efb2ff851f8f55b4747c8068c7e780083e35c)
|
|
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)
|
|
(This used to be commit 4c3b37d660e798764e35a31221f4939ab6f36948)
|
|
(This used to be commit ebed25b47d3d8bd350b51b462d605d713f17602d)
|
|
(This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)
|
|
(This used to be commit b7d982c94be05d357a4c3517afc60c7929fb4615)
|
|
(This used to be commit 31069bfd18c4b7355dbf85df9fb479705b0e3b4b)
|
|
clean out a lot of build farm breakage.
(This used to be commit c34fbdc6c3fd2c066c713bdd84e6f40f6aa8cd43)
|
|
build farm. I have a feeling it isn't.
(This used to be commit 7cc8df0c2f46fb9ce753e368ce645bcb69585334)
|