summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * r10348: Add scons scripts for remaining subsystems. Most subsystems build now, Jelmer Vernooij2005-09-2016-31/+24
| | | | | | | | | | | | | | | but final linking still fails (as does generating files asn1, et, idl and proto files)
| | * r10336: Add sconscript for a couple more subsystems.Jelmer Vernooij2005-09-209-15/+53
| | |
| | * r10335: Build tdb tools into bin directory.Tim Potter2005-09-191-4/+5
| | |
| | * r10332: Fix the build - messaging uses UNIX_PRIVSJelmer Vernooij2005-09-191-1/+2
| | |
| | * r10330: Add SConscript to more subsystems. Some of the tdb tools build now.Jelmer Vernooij2005-09-197-10/+68
| | | | | | | | | | | | Start on custom Samba scons tools (for handling proto generation, pidl, etc)
| | * r10328: Add more emacs python-mode markers.Tim Potter2005-09-196-0/+12
| | |
| | * r10323: Add first bits required for getting compile with scons working. This ↵Jelmer Vernooij2005-09-196-0/+43
| | | | | | | | | | | | | | | | | | does not work yet and can exist parallel with the existing build system.
| | * r10316: More dynconfig fixesJelmer Vernooij2005-09-192-2/+0
| | |
| | * r10315: Remove use of fstring and pstring in dynconfig.cJelmer Vernooij2005-09-191-12/+0
| | | | | | | | | | | | Remove unused includes of dynconfig.h
| | * r10312: fix compiler warningStefan Metzmacher2005-09-191-1/+1
| | | | | | | | | | | | metze
| | * r10305: start implementing better error handlingSimo Sorce2005-09-1816-354/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | changed the prioivate modules API error string are now not spread over all modules but are kept in a single place. This allows a better control of memory and error reporting.
| | * r10304: check for basic ldb_message sanity and return appropriateSimo Sorce2005-09-184-14/+59
| | | | | | | | | | | | LDB_ERR_ value
| | * r10303: check no attribute is given emptySimo Sorce2005-09-181-0/+5
| | |
| | * r10302: Introduce ldap like error codesSimo Sorce2005-09-181-0/+91
| | |
| | * r10301: fix standalone compiple after tdb changesSimo Sorce2005-09-181-1/+4
| | |
| | * r10299: remove the public (un)lock functions and introduce a transaction basedSimo Sorce2005-09-1713-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.
| | * r10294: Generate Makefile directly rather then thru Makefile.in. Autoconf Jelmer Vernooij2005-09-171-1/+1
| | | | | | | | | | | | | | | | | | substitution variables are now no longer used. This is one more step towards a (hopefully) perl-based configure
| | * r10277: do not ovverride LIKE, thanks to derrel I found out how to doSimo Sorce2005-09-161-26/+24
| | | | | | | | | | | | the same thing with a harmless user function
| | * r10258: Fix an unused/duplicate local variable.Tim Potter2005-09-161-2/+0
| | |
| | * r10253: a fairly large tdb cleanup and re-organise. Nearly all of this changeAndrew Tridgell2005-09-1626-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.
| | * r10251: some more work on ldb_sqlite3Simo Sorce2005-09-155-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
| | * r10250: the comparison is caseless so we must caseless subtractSimo Sorce2005-09-151-1/+1
| | | | | | | | | | | | | | | otherwise we get the wrong result when comparing upper case chars with lower case chars
| | * r10246: Remove unused functionJelmer Vernooij2005-09-153-218/+1
| | | | | | | | | | | | Move auth-specific file to auth/
| | * r10245: Get rid of XFILE in a few places. Jelmer Vernooij2005-09-153-20/+40
| | | | | | | | | | | | Add fdprintf() and vfdprintf() helper functions.
| | * r10236: fix (C) noteSimo Sorce2005-09-151-0/+1
| | |
| | * r10233: add commented PRAGMA to avoid fsyncsSimo Sorce2005-09-141-2/+8
| | |
| | * r10232: Some work on ldb_sqlite3.Simo Sorce2005-09-142-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.
| | * r10231: seem I flipped these, fix.Simo Sorce2005-09-141-2/+2
| | |
| | * r10207: Add some constJelmer Vernooij2005-09-138-77/+75
| | |
| | * r10200: added a composite_trigger_done() call that allows a composite functionAndrew Tridgell2005-09-131-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().
| | * r10161: Check for alloca.h to prevent incorrect local declaration.James Peach2005-09-121-1/+1
| | |
| | * r10111: Make pidl by default assume the input file is an IDL file rather Jelmer Vernooij2005-09-091-1/+1
| | | | | | | | | | | | then a .pidl file.
| | * r10104: Fix code before declaration.Tim Potter2005-09-091-1/+1
| | |
| | * r10089: Fix a typo breaking the Makefile generator and therefore - the build.Rafal Szczesniak2005-09-081-1/+1
| | | | | | | | | | | | rafal
| | * r10074: Pass CPP to pidl via environment variables rather then config.pm. ↵Jelmer Vernooij2005-09-081-1/+1
| | | | | | | | | | | | | | | | | | This fixes the standalone pidl build (as used for ethereal)
| | * r10052: Add 'print' commandJelmer Vernooij2005-09-061-0/+22
| | |
| | * r10043: Only recompile subsystems that actually need recompilationJelmer Vernooij2005-09-051-0/+1
| | |
| | * r10038: Update instructions on using gcov with ldbJelmer Vernooij2005-09-051-9/+5
| | |
| | * r10030: Add hierarchical memory allocation to TDR's pull functionsJelmer Vernooij2005-09-045-53/+44
| | |
| | * r10028: More registry fixes. Jelmer Vernooij2005-09-042-41/+115
| | | | | | | | | | | | | | | Remove save_hive() function (there is a flush_key function already). Fixes for the allocation mechanism in the REGF backend
| | * r10027: Use blob length for keeping track of buffer length, add TODOJelmer Vernooij2005-09-043-23/+48
| | |
| | * r10026: Move registry header file to lib/registryJelmer Vernooij2005-09-048-8/+186
| | | | | | | | | | | | | | | Add support for showing security descriptor in regshell Add support for saving files in NT4 registry backend
| | * r10025: Add some utility functions for storing/loading tdr encoded dataJelmer Vernooij2005-09-042-92/+82
| | |
| | * r10020: Support for malloc / realloc / free in HBIN blocksJelmer Vernooij2005-09-043-25/+333
| | | | | | | | | | | | Initial support for adding keys (still broken though)
| | * r10019: Only return NT_STATUS_NO_MEMORY if the alloc failed..Jelmer Vernooij2005-09-041-1/+5
| | |
| | * r10016: Support reading security descriptors on keys.Jelmer Vernooij2005-09-034-3/+66
| | |
| | * r10015: Change the NT4 registry backend to use the IDL-generate parse functions.Jelmer Vernooij2005-09-033-1629/+257
| | |
| | * r10013: Support zero-sized strings.Jelmer Vernooij2005-09-031-0/+5
| | |
| | * r10009: Fix bug in uint8 parsing functionsJelmer Vernooij2005-09-031-2/+4
| | |
| | * r10007: Merge data_blk and data_len member of registry_value into a DATA_BLOB.Jelmer Vernooij2005-09-0311-83/+75
| | | | | | | | | | | | | | | Fix handling of REG_DWORD in the LDB backend. Fix a couple of warnings