summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4593: don't use the _p function in the testsuite, as when built standalone ↵Andrew Tridgell1-9/+9
it doesn't use TALLOC_DEPRECATED (This used to be commit 2fe0e2528f14627832942f6404a4b1be4b556c97)
2007-10-10r4592: fixed typo from talloc testsuite fixup for the new syntaxAndrew Tridgell1-1/+1
(This used to be commit 1177200dd9392c088f5b009f55390ad31c367e5f)
2007-10-10r4591: - converted the other _p talloc functions to not need _pAndrew Tridgell6-52/+72
- added #if TALLOC_DEPRECATED around the _p functions - fixes the code that broke from the above while doing this I fixed quite a number of places that were incorrectly using the non type-safe talloc functions to use the type safe ones. Some were even doing multiplies for array allocation, which is potentially unsafe. (This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
2007-10-10r4550: talloc() is now typesafe. It is exactly equivalent to the old ↵Andrew Tridgell4-26/+26
talloc_p() macro. Use talloc_size() if you want the old behaviour. I have kept talloc_p() as an alias for now. Once we change all calls to be plain talloc() then we can remove it. (This used to be commit 2011bbeb841fd6bfccf3d44a49f79203f7f55baa)
2007-10-10r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell7-17/+18
talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
2007-10-10r4547: - added talloc_new(ctx) macro that is a neater form of the common ↵Andrew Tridgell5-4/+14
talloc(ctx, 0) call. - cleaned up some talloc usage in various files I'd like to get to the point that we have no calls to talloc(), at which point we will rename talloc_p() to talloc(), to encourage everyone to use the typesafe functions. (This used to be commit e6c81d7c9f8a6938947d3c1c8a971a0d6d50b67a)
2007-10-10r4513: add experimental modification attribute checkingSimo Sorce1-1/+451
still not complete but works with add and replace, not tested with delete lot of duplicated code to remove (This used to be commit ea051f6cd39d0e729bb425eb08034a0eee0996dc)
2007-10-10r4506: fix compiler warningsStefan Metzmacher1-3/+0
metze (This used to be commit 1c6accd7cbf9ccb7f642b85200671b9d4fe23f47)
2007-10-10r4505: Add a first very basic schema moduleSimo Sorce4-3/+501
To use it you should provide a schema.ldb file where the schema is stored and load the module in the ldb you want to have schema check activated more info soon. currently schema checks are performed only on new object creation not on modifications Simo. (This used to be commit b8bb62f14419efd434a344606fb3f753384761a0)
2007-10-10r4503: add an error reporting function (fixes)Simo Sorce1-8/+17
(This used to be commit d11732f4f7f9bc535222aa7a6dd2f15cf5002a4d)
2007-10-10r4502: add an error reporting functionSimo Sorce1-1/+17
(This used to be commit 985a58a16d04f3b92b4bbff86f6c466385f01321)
2007-10-10r4493: change name of README.gcov so it doesn't get deleted by "make clean" :-)Andrew Tridgell1-0/+0
(This used to be commit 209ba7b889823f1badb0337412b2b9b34c5e23de)
2007-10-10r4488: removed an unused variableAndrew Tridgell1-1/+0
(This used to be commit 1dfc41c9a3b6418236a1f04b5cf3f9ef9e8b608e)
2007-10-10r4486: fixed some memory leaks in the new ldb code, by ensuring that memory ↵Andrew Tridgell3-7/+7
is always allocated as a child of the right context (This used to be commit 1071712cf5951fa2e94f314bd7678cfa51b2dbcd)
2007-10-10r4481: get rid of the last leakAndrew Tridgell1-1/+3
(This used to be commit 52de02b2c31eefac75ce0582ed8acae8007e7cc2)
2007-10-10r4479: added the function talloc_autofree_context() which returns a talloc ↵Andrew Tridgell5-4/+36
context that will automatically be freed on program exit. This is useful for reducing clutter in leak reports (This used to be commit cf73dda652e0a121901f22771104be6751c0fcb9)
2007-10-10r4477: expanded the test suite to increase code coverage a lotAndrew Tridgell9-77/+73
(This used to be commit 4edbd1b18ee38e584cf844b64c7fcb2645921837)
2007-10-10r4476: added a little gcov howto for ldbAndrew Tridgell1-0/+33
(This used to be commit 5dc1995118c7d25adf89b6cc6156b1e6fc281e9b)
2007-10-10r4475: fixed smbd to work with the small changes in the ldb API (the most ↵Andrew Tridgell2-6/+7
important change was in the ldb_msg_add_*() routines, which now use the msg as a context, and thus it needs to be a talloc ptr) (This used to be commit 1a4713bfd0e519f3eb7b3241121ff914a6eeef18)
2007-10-10r4474: - converted ldb to use talloc internallyAndrew Tridgell28-1140/+729
- added gcov flags to Makefile.ldb - expanded ldb test suite to get more coverage (This used to be commit 0ab98f50a7e0fe15347a99e5c29a6590a87729a0)
2007-10-10r4473: - moved talloc into its own lib/talloc/ areaAndrew Tridgell9-999/+1420
- added gcov flags to Makefile.talloc - expanded talloc testsuite to add a test for realloc with a child ptr - fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs (This used to be commit 98b5f73c1ba34d7576c5995069b485c1c5ede324)
2007-10-10r4472: improve the discard_const() macro for standalone build of tallocAndrew Tridgell1-1/+6
(This used to be commit 310cea15bf01343d9ab8ff7a166f0699c0507816)
2007-10-10r4467: - tdb standalone build doesn't need -DSTANDALONE any moreAndrew Tridgell2-3/+3
- fixed standalone build (This used to be commit ade0b71e4194f99d807d26276592bc041d46df7b)
2007-10-10r4466: rather than defining "STANDALONE" for building tdb, ldb and tallocAndrew Tridgell11-17/+1107
outside the tree, instead defined _SAMBA_BUILD_ inside the Samba build. This makes it easier to pull code out of Samba for external use. (This used to be commit 09e98c8745cca7ccb1ad7134c0c09b8e4c0f4f06)
2007-10-10r4465: remove unused fileAndrew Tridgell1-69/+0
(This used to be commit fee40e110d56c932aeff11178c120f3f4e19ddd2)
2007-10-10r4427: - added ldb_msg_*() functions for sorting, comparing and copying messagesAndrew Tridgell3-0/+153
- added a ldb_msg_canonicalize() function that fixes a record to not have any duplicate elements - changed ldbedit to use ldb_msg_canonicalize(). This fixes a bug when you rename multiple elements in a record in one edit (This used to be commit f006e724400843419c8b6155cbeae1876983855e)
2007-10-10r4424: fixed a simple bug in the '|' handling in indexed ldb searches. I'mAndrew Tridgell1-0/+1
amazed we got along for so long with this bug! (This used to be commit 937159cf2c6ae08808bd10946fcdbd8741e1a560)
2007-10-10r4397: Fix a bug where ↵Volker Lendecke1-0/+1
'(&(objectclass=domain)(!(objectclass=builtindomain)))' fell back to a full search. Volker (This used to be commit 55c9fbd4f4afdde30a0d92bfd31f5c9ebb98c59b)
2007-10-10r4390: Registry value and key names are case-insensitiveJelmer Vernooij1-3/+3
Nicer menu layout in gregedit (This used to be commit 2948b9750d756880c3af7fb352f0a684a1fae9c9)
2007-10-10r4373: Support setting values and fix a segfaultJelmer Vernooij1-2/+2
(This used to be commit cdb6980cdcf4b093e98b3b025f784333d46ac957)
2007-10-10r4371: Add "Create Key", "Delete Key" and "Delete Value" buttons.Jelmer Vernooij1-4/+5
gregedit now can do the same things as regedt32 except for finding data and setting values. (and a few segfaults...) (This used to be commit ada16f31e4da919731767ce31000aa270f22ffd5)
2007-10-10r4366: Fix ldb_modify_internal: Adding values to an existing attribute you ↵Volker Lendecke1-9/+36
could end up with a corrupt data structure on disk, namely with two attribute structures for the same attribute name. Volker (This used to be commit 284044b5b20102894a8128f84ab41d59cfcc9285)
2007-10-10r4327: add usefull function if you don't want that the data will ↵Stefan Metzmacher1-0/+7
talloc_memdup()'ed metze (This used to be commit 1f01e370b192fc8fa51eb3a46e7b45c993aa9b80)
2007-10-10r4299: Store REG_SZ, REG_EXPAND_SZ and REG_DWORD values in human-readable ↵Jelmer Vernooij2-6/+36
(and human-editable) format in the ldb registry backend. (This used to be commit 6eafd055d1a7d45734a0112228e18ee59d1f7867)
2007-10-10r4298: Update to credentials.h after feedback from Andrew BartlettJelmer Vernooij1-25/+34
Move pack/unpack of values in ldb registry backend to seperate functions (This used to be commit ceb4e92735f6dae96bb0b9d98211c9808159e56a)
2007-10-10r4282: removed a spurious error message now we remove index entries in the ↵Andrew Tridgell1-1/+0
modify call (This used to be commit 58fcc326241e73cc8a122e6130b5ff0d6a3b9232)
2007-10-10r4281: fixed an ldb indexing bug in ldb found by volker.Andrew Tridgell3-8/+19
index entries were not always being removed on modify (This used to be commit 9c668e7b43dc2d82d3d639b64c53e887723ccba7)
2007-10-10r4267: fixed the charset code to use the builtin_functions.Andrew Tridgell1-12/+20
Jelmer, please be more careful about testing new code. Your charsets register change completely broke charset handling on systems without iconv, and slowed every system down as the builtins were not being used at all. (This used to be commit 0022b4d24c7bb649fd69fffca04c022ea6b33634)
2007-10-10r4263: added support for the trans2 RAW_SEARCH_EA_LIST informationAndrew Tridgell1-0/+13
level. This is quite a strange level that we've never seen before, but is used by the os2 workplace shell. note w2k screws up this level when unicode is negotiated, so it only passes the RAW-SEARCH test when you force non-unicode (This used to be commit 25189b8fbf6515d573e3398dc9fca56505dc37b9)
2007-10-10r4262: a sniff from kukks showed that the FILE_ATTRIBUTE_NORMAL handling inAndrew Tridgell1-0/+1
pvfs was not correct. This should fix a xcopy bug on OS/2. (This used to be commit 7251f1fcdd8980e9c49a58e665374025e07bb8d0)
2007-10-10r4213: Store REG_SZ in UTF16, not the unix charset..Jelmer Vernooij2-13/+4
It is now possible to use the "Add..." button in the Security tab of the File Properties Dialog box. (This used to be commit 9fa25260d3f18dd0dd041477c48571b53d86f3c4)
2007-10-10r4209: Fix several smaller bugsJelmer Vernooij7-67/+160
Add "predef" and "set" commands in regshell Some of the remote calls from a Windows box work now. (This used to be commit f3e05782804fe4b4942fa966f1b9650c64bc234d)
2007-10-10r4204: Arguments to reg_del_key more like the RPC for more efficient usageJelmer Vernooij7-192/+172
Fix small bug in regpatch Fix segfault in regshell cmdline completion Implement set_value and del_value in ldb backend (This used to be commit 8e2aa58abeafa78afe7dafb9723f5f365e756527)
2007-10-10r4197: Remove silly extra const.Tim Potter2-2/+2
(This used to be commit fcbfa888defe4f904e0c4b4f723d53a03422ad80)
2007-10-10r4167: Fix CreateKeyJelmer Vernooij1-1/+26
Support CreateKey in the RPC registry backend (This used to be commit ad8d9e6f73619332d93c38a1879233e199e8ba25)
2007-10-10r4166: More small API fixes, keep registry structs as small as possible.Jelmer Vernooij7-39/+8
Implement DelValue in the RPC server (This used to be commit f6b9ec89af934e837069fb26c0e3491fc78ebc12)
2007-10-10r4155: More destinction between hives and predefined keysJelmer Vernooij7-70/+67
(This used to be commit c37d6f3c581673d74e7ec6a644ab6a7d13a55535)
2007-10-10r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXTJelmer Vernooij3-12/+12
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
2007-10-10r4141: Fix crash bug in ldb backendJelmer Vernooij2-9/+9
(This used to be commit 5f64a60374486b9fc3d75786c3035a9017dd4d33)
2007-10-10r4140: Get rid of close_hive (replace it with talloc destructors).Jelmer Vernooij2-19/+25
(This used to be commit bcbfce7b0119538bab06801c97aa9c7d4bf3a6c6)