summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10304: check for basic ldb_message sanity and return appropriateSimo Sorce4-14/+59
LDB_ERR_ value (This used to be commit 610f5646f0816820ac9342e81d46d139e26cc918)
2007-10-10r10303: check no attribute is given emptySimo Sorce1-0/+5
(This used to be commit f0ad9495e45ee0d41ef8ca182984599c8e11cabb)
2007-10-10r10302: Introduce ldap like error codesSimo Sorce1-0/+91
(This used to be commit cbe438be6d9b1b7182ab3e63607a2e5b2d5456fb)
2007-10-10r10301: fix standalone compiple after tdb changesSimo Sorce1-1/+4
(This used to be commit acfb4b928363b00346cd8991347d992c76c981d6)
2007-10-10r10299: remove the public (un)lock functions and introduce a transaction basedSimo Sorce13-275/+232
private ldb API ldb_sqlite3 is already working with this model and ldb_tdb will do as soon as tridge finishes the tdb transaction code. currently the transactions are always implicit and wrap any single ldb API call except searching, the transaction functions are currently not made public on purpose. Simo. (This used to be commit 1da4ac2cdcb7e54076f85242a93784260dced918)
2007-10-10r10294: Generate Makefile directly rather then thru Makefile.in. AutoconfJelmer Vernooij1-1/+1
substitution variables are now no longer used. This is one more step towards a (hopefully) perl-based configure (This used to be commit 6f9956a1dd870c0669c288b0fe72b7b1c8773dd0)
2007-10-10r10277: do not ovverride LIKE, thanks to derrel I found out how to doSimo Sorce1-26/+24
the same thing with a harmless user function (This used to be commit 158693b4064bd731aa4f6cdb2fde51d7aa596cf5)
2007-10-10r10258: Fix an unused/duplicate local variable.Tim Potter1-2/+0
(This used to be commit 360be7028c2244391cdd9ed6d156cec8dab9e9e9)
2007-10-10r10253: a fairly large tdb cleanup and re-organise. Nearly all of this changeAndrew Tridgell26-2580/+2234
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)
2007-10-10r10251: some more work on ldb_sqlite3Simo Sorce5-247/+282
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)
2007-10-10r10250: the comparison is caseless so we must caseless subtractSimo Sorce1-1/+1
otherwise we get the wrong result when comparing upper case chars with lower case chars (This used to be commit f6ea6e9382f954be819ec82e28598cdf9cf88661)
2007-10-10r10246: Remove unused functionJelmer Vernooij3-218/+1
Move auth-specific file to auth/ (This used to be commit 8aa9711a306b30da905f53148ebe352462852d74)
2007-10-10r10245: Get rid of XFILE in a few places.Jelmer Vernooij3-20/+40
Add fdprintf() and vfdprintf() helper functions. (This used to be commit 6685009f6af94b088084d69a43bcea5f8335ae57)
2007-10-10r10236: fix (C) noteSimo Sorce1-0/+1
(This used to be commit 466e6812c35af9096fea05520c6b59a19793c4d1)
2007-10-10r10233: add commented PRAGMA to avoid fsyncsSimo Sorce1-2/+8
(This used to be commit e5d8d834600040793c1e45c7aaceb374df2b3839)
2007-10-10r10232: Some work on ldb_sqlite3.Simo Sorce2-2026/+1377
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)
2007-10-10r10231: seem I flipped these, fix.Simo Sorce1-2/+2
(This used to be commit 8ddf4de162f42ed53ab0603dd0e1536796f9197e)
2007-10-10r10207: Add some constJelmer Vernooij8-77/+75
(This used to be commit b1ad340b4720e922ae1e332c2a74986b1656358b)
2007-10-10r10200: added a composite_trigger_done() call that allows a composite functionAndrew Tridgell1-5/+0
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)
2007-10-10r10161: Check for alloca.h to prevent incorrect local declaration.James Peach1-1/+1
(This used to be commit efc70d267285a94bcadd690ae4392d278cdeea94)
2007-10-10r10111: Make pidl by default assume the input file is an IDL file ratherJelmer Vernooij1-1/+1
then a .pidl file. (This used to be commit d8a31d3048a6421a3d49d3c121bc86d748838b3a)
2007-10-10r10104: Fix code before declaration.Tim Potter1-1/+1
(This used to be commit 05c020181560afd4e6957be29795536e2d83d71e)
2007-10-10r10089: Fix a typo breaking the Makefile generator and therefore - the build.Rafal Szczesniak1-1/+1
rafal (This used to be commit d6936185d5e4a85b188d5117d7a3b3d6bea2f96b)
2007-10-10r10074: Pass CPP to pidl via environment variables rather then config.pm. ↵Jelmer Vernooij1-1/+1
This fixes the standalone pidl build (as used for ethereal) (This used to be commit 9c9ebd2214423c58357854f09bd744e13e807d8f)
2007-10-10r10052: Add 'print' commandJelmer Vernooij1-0/+22
(This used to be commit d99c9e2817fbbe2a0a34910672c8473889bc6176)
2007-10-10r10043: Only recompile subsystems that actually need recompilationJelmer Vernooij1-0/+1
(This used to be commit de9830979788528754175b17fe45477e6ce9ce9e)
2007-10-10r10038: Update instructions on using gcov with ldbJelmer Vernooij1-9/+5
(This used to be commit 8d246fac49332426699e797f52ef694083b5e2ea)
2007-10-10r10030: Add hierarchical memory allocation to TDR's pull functionsJelmer Vernooij5-53/+44
(This used to be commit 0e358de93a007db921ad5e9a892114122254de39)
2007-10-10r10028: More registry fixes.Jelmer Vernooij2-41/+115
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)
2007-10-10r10027: Use blob length for keeping track of buffer length, add TODOJelmer Vernooij3-23/+48
(This used to be commit a924bec84b6d0a84db05c4315126474c9248fe2d)
2007-10-10r10026: Move registry header file to lib/registryJelmer Vernooij8-8/+186
Add support for showing security descriptor in regshell Add support for saving files in NT4 registry backend (This used to be commit 47cecd4726e6568f1aafb404646d2664f630a9bb)
2007-10-10r10025: Add some utility functions for storing/loading tdr encoded dataJelmer Vernooij2-92/+82
(This used to be commit bcd433bfc1450317b75e22942dee1c42bb24ae79)
2007-10-10r10020: Support for malloc / realloc / free in HBIN blocksJelmer Vernooij3-25/+333
Initial support for adding keys (still broken though) (This used to be commit ff8d3a27c1b9bb37de39e7d7b974702b2b8c4437)
2007-10-10r10019: Only return NT_STATUS_NO_MEMORY if the alloc failed..Jelmer Vernooij1-1/+5
(This used to be commit ea92959209fa256a8190df19e8c27b368169724f)
2007-10-10r10016: Support reading security descriptors on keys.Jelmer Vernooij4-3/+66
(This used to be commit b349e902c7b0140cd94e241ba9f81c83fa54f603)
2007-10-10r10015: Change the NT4 registry backend to use the IDL-generate parse functions.Jelmer Vernooij3-1629/+257
(This used to be commit 0ad46ef804c0654e927f9c14ea93c45f9e3c718c)
2007-10-10r10013: Support zero-sized strings.Jelmer Vernooij1-0/+5
(This used to be commit cf3be71c33ec8e43c883ce05fd1a63d1178446ad)
2007-10-10r10009: Fix bug in uint8 parsing functionsJelmer Vernooij1-2/+4
(This used to be commit abb0db12185a3b3ef7da16fa3d742336afeb8ef0)
2007-10-10r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.Jelmer Vernooij11-83/+75
Fix handling of REG_DWORD in the LDB backend. Fix a couple of warnings (This used to be commit 709fdc7ebf5a77cfb50359fad978884777decc3b)
2007-10-10r9995: Add file describing the REGF file format in IDL.Jelmer Vernooij1-0/+154
(used in reg_backend_nt4.c rewrite) (This used to be commit 5e1a16eda28d432b94dc933b44da3ca556f92fdf)
2007-10-10r9993: Gcc is fussy about the lack of parentheses around assignment statements.Tim Potter1-1/+1
(This used to be commit 908ba892598af83ae2fbe661d40e9f10ff3e34a0)
2007-10-10r9959: Fix bug where data offset was incorrect after parsing element withJelmer Vernooij1-17/+2
[charset] (This used to be commit b17478229e8e9220858fcc85a19ec751450f969d)
2007-10-10r9957: Switch to using DATA_BLOBs internally in TDRJelmer Vernooij2-33/+25
(This used to be commit 351149d160e893a3fdd4a5b11ec4b4b2bbf264a9)
2007-10-10r9949: Portability fixes for mingw32Jelmer Vernooij2-4/+3
(This used to be commit 994093b08ee463066c6bae494b10374bd700b0b0)
2007-10-10r9948: Be a bit less verboseJelmer Vernooij1-1/+1
(This used to be commit 071dba2d0ae964e9901adf0c4870894deed43650)
2007-10-10r9940: When guessing, don't make DEBUG(1,... errors.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 664736e73df60ccfd24a41fda75031cb6b7d08cd)
2007-10-10r9929: Fix indentationAndrew Bartlett2-3/+5
Andrew Bartlett (This used to be commit d6f57ec921839b46534eb64a7b6374161ff37835)
2007-10-10r9928: ncName is a DN, and needs to use DN matching rules.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit b89e7a7fcdf80f2cab581f138358b4324d15d6bc)
2007-10-10r9919: Remove debug statement from samba3samJelmer Vernooij2-2/+68
Add SOC STATUS doc (This used to be commit 152c1a37b536c65e0b816319304d1fb46c2dc5a8)
2007-10-10r9918: Fix two copy-n-paste bugs that were preventing the modificationJelmer Vernooij2-3/+3
of special DN's when the rdn_name or timestamps modules were in use. (This used to be commit c61efb2ff851f8f55b4747c8068c7e780083e35c)