Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-14 | s4-repl: fixed a memory error handling linked attributes | Andrew Tridgell | 1 | -10/+10 | |
We could get a double free with multiple linked attributes in a message | |||||
2009-09-14 | s4-repl: fall back to repsFrom if repsTo not set | Andrew Tridgell | 1 | -2/+4 | |
Windows does not seem to be always setting up repsTo using DsUpdateRefs(). For now we will fall back to using repsFrom if repsTo is empty. This is almost certainly incorrect, but it does get notification based replication working with both w2k3 and w2k8. | |||||
2009-09-14 | pyldb: Don't segfault when invalid type is specified to Dn.get(). | Jelmer Vernooij | 2 | -2/+14 | |
(#6722) | |||||
2009-09-14 | examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema. | Michael Adam | 2 | -6/+0 | |
Michael | |||||
2009-09-14 | dsdb: the samba3 ldap schema has no sambaAccountPolicy (any more at least) | Michael Adam | 1 | -1/+0 | |
Michael | |||||
2009-09-14 | s4:heimdal_build: fix the build with --enable-automatic-dependencies | Stefan Metzmacher | 1 | -1/+1 | |
We need to create the header file before we generate the source file. metze | |||||
2009-09-13 | s4:heimdal_build Fix build breakages caused by asn1compile change | Andrew Bartlett | 1 | -2/+1 | |
The issue was that we referenced an asn1compile generated file by name, not by the subsystem is was generated by. Andrew Bartlett | |||||
2009-09-14 | s3: Test short reads in the build farm | Volker Lendecke | 1 | -0/+3 | |
2009-09-14 | s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled | Volker Lendecke | 1 | -4/+118 | |
2009-09-14 | schannel: remove unused schannel structs. | Günther Deschner | 4 | -344/+0 | |
Guenther | |||||
2009-09-14 | s3-rpc_client: add rpccli_lsa_lookup_sids3 wrapper. | Günther Deschner | 2 | -17/+82 | |
Guenther | |||||
2009-09-14 | s3-rpc_client: add rpccli_lsa_lookup_names4 wrapper. | Günther Deschner | 2 | -23/+84 | |
Guenther | |||||
2009-09-13 | s4:heimdal_build Love pointed me at the --one-code-file option to asn1_compile | Andrew Bartlett | 1 | -32/+17 | |
This new option avoids a lot of code that was used to intuit what files would be output by the compiler. Andrew Bartlett | |||||
2009-09-14 | s3:docs: Fix a typo | OPC oota | 1 | -1/+1 | |
2009-09-13 | s4-repl: added a preiodic notification check to the repl task | Andrew Tridgell | 7 | -4/+480 | |
The dreplsrv_notify code checks the partition uSN values every N seconds, and if one has changed then it sends a DsReplicaSync to all the replication partners listed in the repsTo attribute for the partition. | |||||
2009-09-13 | s4-drs: fixed search expression | Andrew Tridgell | 1 | -1/+1 | |
At least on the command line the braces are needed. Strange. | |||||
2009-09-13 | s4-repl: use the new dsdb partition uSN helper fns | Andrew Tridgell | 1 | -78/+16 | |
2009-09-13 | s4-dsdb: added dsdb_load_partition_usn and dsdb_save_partition_usn | Andrew Tridgell | 1 | -0/+146 | |
These are used to load/save the per-partition uSN values managed by the repl_meta_data module | |||||
2009-09-13 | s4-sam: allow a search to specify a partition | Andrew Tridgell | 1 | -2/+17 | |
You can now attach a partition control to searches to search within a specific partition. This is used to get at the per-partition @REPLCHANGED object | |||||
2009-09-13 | s4-repl: keep a @REPLCHANGED object on each partition | Andrew Tridgell | 1 | -24/+310 | |
This object tracks the highest uSN in each partition. It will be used to allow us to efficiently detect changes in a partition for sending DsReplicaSync messages to our replication partners. | |||||
2009-09-13 | s3-samr: Fix Coverity #934 UNINIT. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-09-13 | s3-netlogon: Fix Coverity #945 UNINIT. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-09-13 | s3-nterr: print a NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2009-09-13 | s3-schannel: fix Coverity #950 OVERRUN_STATIC. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-09-13 | s4-schannel: use NL_AUTH_MESSAGE for schannel. | Günther Deschner | 1 | -23/+35 | |
Guenther | |||||
2009-09-13 | s4-schannel: strip trailing whitespace. | Günther Deschner | 1 | -26/+26 | |
Guenther | |||||
2009-09-13 | s3-schannel: fix api_pipe_schannel_process(), was using incorrect buffer length. | Günther Deschner | 1 | -1/+3 | |
Found by RPC-SCHANNEL torture test. Guenther | |||||
2009-09-13 | Fix string-wchar-fixed-array-03 test (when libndr is available). | Jelmer Vernooij | 1 | -2/+2 | |
2009-09-13 | Fix string-wchar-fixed-array-02 test (when libndr is available). | Jelmer Vernooij | 1 | -2/+2 | |
2009-09-13 | Fix string-wchar-fixed-array-01 test (when libndr is available). | Jelmer Vernooij | 1 | -4/+4 | |
2009-09-13 | pidl: Remove unnecessary _GNU_SOURCE define. | Jelmer Vernooij | 1 | -1/+0 | |
2009-09-12 | s4:sites & services - Adds Intersite transport containers | Matthieu Patou | 1 | -5/+28 | |
This patch brings up those subcontainers and fixes up the "systemFlags" on the "Subnet" entry. | |||||
2009-09-12 | s4:group policies - the default group policy objects are all system-critical | Matthias Dieter Wallnöfer | 1 | -0/+6 | |
2009-09-12 | s4:group policies - upcase directory names of default group policies | Matthias Dieter Wallnöfer | 1 | -4/+8 | |
The directory names (MACHINE, USER) are upcased to help locating the default group policies under the SYSVOL dir (the additional ones have only the first letter upcased of those directory names). | |||||
2009-09-12 | s4:repl_meta_data: increment the attribute version with each change | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2009-09-12 | s4-scripts: allow setup_dns.sh to take a PRIVATEDIR | Andrew Tridgell | 1 | -1/+3 | |
2009-09-12 | s4-samdb: make it possible to ask for the sequence number of a partition | Andrew Tridgell | 1 | -0/+9 | |
The partition module normally makes the sequence number extended op operate across all partitions. It will be useful in the repl task to be able to ask for the sequence number of one partition | |||||
2009-09-12 | s4-drs: change debug level | Andrew Tridgell | 1 | -1/+1 | |
It's useful seeing the object count without as much detail | |||||
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 | |