Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-12 | s4-repl: fixed memory leaks | Andrew Tridgell | 3 | -12/+31 | |
These memory leaks were mostly caused by the fact that refresh_partitions is now called periodically | |||||
2009-09-12 | s4-ndr: fixed memory leaks in ndr_pull_*_blob() | Andrew Tridgell | 2 | -9/+26 | |
We needed to free the ndr structures, both on error and normal return | |||||
2009-09-12 | s4-drs: also fill in tmp_highest_usn | Andrew Tridgell | 1 | -0/+1 | |
Without this the client will not update its repsFrom highest_usn values | |||||
2009-09-12 | s4-drs: return objects with uSN > highest_usn | Andrew Tridgell | 1 | -2/+6 | |
When the client tells us the highest_usn they have is N, then we want to send them objects with usn>N, not>=N, as otherwise we end up sending them the same object (the one with the highest uSN) again and again. | |||||
2009-09-12 | s4-drs: spelling fix, and simpler search expression | Andrew Tridgell | 1 | -2/+2 | |
uSNChanged>=N is good enough, and offers a possibility of a simple optimisation where the partition module could look for that expression and check the partitions sequence number, then avoid searching a partition that doesn't have any records with a larger uSN. | |||||
2009-09-12 | s4-repl: don't be too eager to allocate new sequence numbers | Andrew Tridgell | 1 | -7/+9 | |
we only need to allocate a new sequence number when replPropertyMetaData is changing or being created on an object | |||||
2009-09-12 | s4-samdb: internal s4 ldb modules should be GPL not LGPL | Andrew Tridgell | 8 | -95/+63 | |
I think these modules ended up LGPL because someone based the module on an existing LGPL module in the core ldb, and it spread from there. Certainly there is no reason for the ldb modules that are not distributed as part of ldb to be LGPL. | |||||
2009-09-12 | s4-drs: fixed the cursor generation to always be filled in | Andrew Tridgell | 1 | -102/+152 | |
We were relying on the uSNChanged>=n search always finding the DN of the root of the partition, but this now doesn't happen very often as we are now restricting when we change uSNChanged. This means we need to always load the replUpToDateVector attribute from the NC root and use it to populate the cursors in the return. | |||||
2009-09-12 | s4-repl: use common functions to simplify updaterefs.c | Andrew Tridgell | 1 | -108/+4 | |
We now have dsdb_loadreps() and dsdb_savereps() | |||||
2009-09-12 | s4-repl: we should only update uSNChanged when replication data changes | Andrew Tridgell | 1 | -29/+39 | |
When changing non-replicated attributes we should not update the uSNChanged attribute on the record, otherwise the DRS server will think this record needs replicating. | |||||
2009-09-12 | s4-kcc: we should only add to the repsFrom if it doesn't already exist | Andrew Tridgell | 2 | -45/+182 | |
If we already have a repsFrom for a particular DC and naming context then we should not overwrite it, as it contains info on what replication we've already done | |||||
2009-09-12 | Fix up-to-dateness vector creation. | Anatoliy Atanasov | 1 | -15/+76 | |
2009-09-12 | repl_meta_data: Fix include path when building with standalone ldb. | Jelmer Vernooij | 1 | -1/+1 | |
2009-09-11 | ldb: Remove references to operational module init function. | Jelmer Vernooij | 2 | -2/+0 | |
This module is now part of Samba 4's dsdb subsystem rather than standalone ldb. | |||||
2009-09-11 | ldb: Support running testsuite without installing first. | Jelmer Vernooij | 2 | -4/+5 | |
2009-09-11 | s4:group policies - add the domain controller group policy | Matthias Dieter Wallnöfer | 4 | -11/+60 | |
This patches fixes the last difference between s4 and Windows Server regarding group policy objects: we hadn't the domain controller policy. - Adds the domain controller policy as it is found in the "original" AD - Adds also the right version number in the GPT.INI file for the domain group policy (was missing) | |||||
2009-09-11 | netlogon.idl - rerun "make idl" | Matthias Dieter Wallnöfer | 2 | -3/+23 | |
2009-09-11 | s4: Fix parsing of CSDVersion: treat this field as an string null terminated. | Matthieu Patou | 1 | -1/+1 | |
CDSVersion field contains one utf16 string and then garbage which pertubated the parsing. We use subcontext to clearly define the size of the whole blob and then let the parser to find the real length of the string. This is a fix for bug 6706, many thanks to Gunter for the PIDL guidelines. | |||||
2009-09-11 | s3:dbwrap_ctdb: set dmaster in ctdb_transaction_store() also when updating ↵ | Michael Adam | 1 | -1/+1 | |
an existing record not only when creating a record. This matches commit e9194a130327d6b05a8ab90bd976475b0e93b06d from ctdb-master. Michael | |||||
2009-09-11 | talloc:mksyms: allow characters after closing functions parenthesis. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-09-11 | talloc:mksyms: allow double pointer return value of functions. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | s3:mksyms: fix spelling... | Michael Adam | 2 | -2/+2 | |
Michael | |||||
2009-09-11 | tevent:mksyms: fix spelling... | Michael Adam | 2 | -2/+2 | |
Michael | |||||
2009-09-11 | talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | talloc:mksigs: normalize bool -> _Bool | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2009-09-11 | talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵ | Michael Adam | 1 | -0/+1 | |
parentheses Michael | |||||
2009-09-11 | talloc:mksigs: correctly ignode multiline function typedefs | Michael Adam | 1 | -5/+5 | |
by first concatenating multilint parentheses and removing typefes afterwards. Michael | |||||
2009-09-11 | talloc:mksigs: ignore struct forward declarations. | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-09-11 | talloc:mksyms: allow characters after closing functions parenthesis. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-09-11 | talloc:mksyms: allow double pointer return value of functions. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | tdb:mksigs: normalize bool -> _Bool | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2009-09-11 | tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵ | Michael Adam | 1 | -0/+1 | |
parentheses Michael | |||||
2009-09-11 | tdb:mksigs: correctly ignode multiline function typedefs | Michael Adam | 1 | -5/+5 | |
by first concatenating multilint parentheses and removing typefes afterwards. Michael | |||||
2009-09-11 | tdb:mksigs: ignore struct forward declarations. | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-09-11 | tdb:mksyms: allow characters after closing functions parenthesis. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-09-11 | tdb:mksyms: allow double pointer return value of functions. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | tevent:signatures: add _tevent_req_cancel and tevent_req_set_cancel_fn | Michael Adam | 1 | -0/+2 | |
introduced in 45e4be0d96abdc729252df1e97bb9a56302e5a4a Michael | |||||
2009-09-11 | tevent:exports: add _tevent_req_cancel and tevent_req_set_cancel_fn. | Michael Adam | 1 | -0/+2 | |
These were added in 45e4be0d96abdc729252df1e97bb9a56302e5a4a Michael | |||||
2009-09-11 | tevent:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | tevent:mksigs: normalize bool -> _Bool | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2009-09-11 | tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵ | Michael Adam | 1 | -0/+1 | |
parentheses Michael | |||||
2009-09-11 | tevent:mksigs: correctly ignode multiline function typedefs | Michael Adam | 1 | -5/+5 | |
by first concatenating multilint parentheses and removing typefes afterwards. Michael | |||||
2009-09-11 | tevent:mksigs: ignore struct forward declarations. | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-09-11 | tevent:mksyms: allow characters after closing functions parenthesis. | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-09-11 | tevent:mksyms: allow double pointer return value of functions. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-09-11 | tevent: add abi_checks to "make test" | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-09-11 | tevent: remove filese generated by "make abi_checks" in "make clean". | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-09-11 | tevent: add a make target "make abi_checks" | Michael Adam | 1 | -0/+4 | |
Michael | |||||
2009-09-11 | tevent: move the original abi_checks script to script/abi_checks_gcc.sh | Michael Adam | 1 | -0/+0 | |
Michael |