Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-25 | s4-drs: If we are a RODC then do not send DSReplicaSync messages | Fernando J V da Silva | 1 | -8/+11 | |
2010-03-16 | s4:dsdb Change dsdb_get_schema() callers to use new talloc argument | Andrew Bartlett | 1 | -11/+19 | |
This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett | |||||
2010-03-12 | s4:dsdb/repl: make use of use tevent_req based dcerpc_binding_handle stubs | Stefan Metzmacher | 3 | -38/+62 | |
metze | |||||
2010-03-10 | s4/drs: DsGetNCChanges - Propagating IDL changes to source code | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-05 | s4:repl - change also here the counter variables to "unsigned" | Matthias Dieter Wallnöfer | 3 | -7/+8 | |
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type. | |||||
2010-03-01 | s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request' | Stefan Metzmacher | 1 | -2/+13 | |
metze | |||||
2010-03-01 | s4:drepl_notify: don't look at the internals of 'struct rpc_request' | Stefan Metzmacher | 1 | -1/+9 | |
metze | |||||
2010-03-01 | s4:dsdb/repl: make use of explicit dcerpc_*_recv functions | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2010-03-01 | s4/rodc: Implement samdb_rodc with ldb context | Anatoliy Atanasov | 1 | -1/+1 | |
2010-02-24 | s4/drs: Propagate drsuapi_DsReplicaSync changes in source base | Kamen Mazdrashki | 2 | -5/+9 | |
2010-02-05 | s4/drs: propagate DRS_ extension flags in code base | Kamen Mazdrashki | 1 | -1/+1 | |
2010-01-28 | s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync ↵ | Fernando J V da Silva | 2 | -7/+24 | |
when necessary If an urgent replication is necessary, so the uSNUrgent stored is equal to the uSNHighest stored, then when sending the DS_ReplicaSync message it sets the DRSUAPI_DRS_SYNC_URGENT bit on DRS_OPTIONS. Signed-off-by: Fernando J V da Silva <fernandojvsilva@yahoo.com.br> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-16 | s4-dsdb: take advantage of local cursor and sort | Andrew Tridgell | 1 | -37/+0 | |
in getncchanges and repl task we don't need the extra load and sort any more. | |||||
2010-01-16 | s4-dsdb: use dsdb_load_udv_v2() in repl task | Andrew Tridgell | 1 | -27/+2 | |
2010-01-14 | s4-drepl: switch drepl over to using the generic DRS options flags | Andrew Tridgell | 2 | -7/+5 | |
WSPP uses a single set of flags for all these DRS operations. | |||||
2010-01-14 | s4-drs: Uses dsdb_load_partition_usn() with urgent_uSN in s4 code | Fernando J V da Silva | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-14 | s4-drs: Store uSNUrgent for Urgent Replication | Fernando J V da Silva | 2 | -3/+3 | |
When a object or attribute is created/updated/deleted, according to [MS-ADTS] 3.1.1.5.1.6, it stores the uSNUrgent on @REPLCHANGED for the partitions that it belongs. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-13 | s4:dsdb/repl: reorder dreplsrv_op_notify* functions | Stefan Metzmacher | 1 | -53/+50 | |
This make the whole async dreplsrv_op_notify_send/recv() readable. metze | |||||
2010-01-13 | s4:dsdb/repl: change dreplsrv_op_notify_send/recv() to tevent_req | Stefan Metzmacher | 2 | -70/+74 | |
metze | |||||
2010-01-09 | s4-drs: add a local UDV entry even when no replUpToDateVector present on NC | Andrew Tridgell | 1 | -3/+3 | |
This allows us to filter correctly for a NC that we have created but not pulled from anyone. | |||||
2010-01-09 | s4-drs: give DN of failed replication partition | Andrew Tridgell | 1 | -4/+5 | |
2010-01-09 | s4-drs: calculate and send a uptodateness_vector with replication requests | Andrew Tridgell | 2 | -7/+82 | |
This stops us getting objects changes twice if they came via an indirect path. | |||||
2010-01-08 | s4:dsdb/repl: convert dreplsrv_op_pull_source_send/recv to tevent_req | Stefan Metzmacher | 3 | -158/+199 | |
metze Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-08 | s4-repl: implement MSG_DREPL_ALLOCATE_RID | Andrew Tridgell | 2 | -19/+48 | |
When the repl server gets MSG_DREPL_ALLOCATE_RID it contacts the RID Manager to ask for another RID pool. We use a callback on completion of the operation to make sure that we don't have two RID allocation requests in flight at once Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-repl: allow for callbacks when a repl operation completes | Andrew Tridgell | 3 | -4/+16 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-repl: added request for RID allocation in drepl task | Andrew Tridgell | 6 | -12/+274 | |
The drepl task now checks to see if our rIDAllocationPool is exhausted, and if it is then we queue a extended operation DsGetNCChanges call to ask the RID Manager to give us a new allocation pool. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-04 | s4:dsdb/repl: convert dreplsrv_out_drsuapi_send/recv to tevent_req | Stefan Metzmacher | 2 | -99/+127 | |
metze | |||||
2009-12-21 | Revert "s4-drs: cope with bogus empty attributes from w2k8-r2" | Kamen Mazdrashki | 1 | -17/+0 | |
This reverts commit 1287c1d115fb7e8f3954bc05ff65007968403a9c. Next patch should fix the "not recognized ATTIDs" problem Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-repl: give a reason why the prepare commit failed | Andrew Tridgell | 1 | -1/+2 | |
2009-12-21 | s4-repl: only try to replicate for NCs that we are a master for | Andrew Tridgell | 1 | -4/+3 | |
2009-12-21 | s4-repl: lower debug level of a common message | Andrew Tridgell | 1 | -1/+1 | |
2009-12-10 | s4-dsdb: use GUID_to_ndr_blob() | Andrew Tridgell | 1 | -7/+2 | |
2009-11-28 | s4-drs: cope with bogus empty attributes from w2k8-r2 | Andrew Tridgell | 1 | -0/+17 | |
w2k8-r2 sometimes sends empty attributes with completely bogus attrid values in a DRS replication response. This allows us to continue with the vampire operation despite these broken elements. | |||||
2009-11-16 | Revert "s4:dsdb/repl/replicated_objects - Applicate also here the new ↵ | Matthias Dieter Wallnöfer | 1 | -4/+1 | |
"lDAPDisplayName" generator" This reverts commit df95d5c29292968b465bff24c3cf78800677a4d4. abartlet pointed out in a post on the samba-technical list that this isn't necessary at all (lDAPDisplayName normalisation algorithm). Rather it breaks functionality of the replication. | |||||
2009-11-15 | s4:dsdb/repl/replicated_objects - Applicate also here the new ↵ | Matthias Dieter Wallnöfer | 1 | -1/+4 | |
"lDAPDisplayName" generator Also here we've to be sure to generate the attribute correctly if it doesn't exist yet. | |||||
2009-11-12 | s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS import | Andrew Bartlett | 2 | -44/+49 | |
This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett | |||||
2009-11-06 | s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵ | Kamen Mazdrashki | 1 | -1/+1 | |
dsdb_schema_pfm_contains_drsuapi_pfm() dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented prefixMap interface. This name was choosen to clearly show, that this a week verification in case we want to determine if remote schema is changed. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-10-25 | s4-samdb: reduce the number of samdb opens at startup | Andrew Tridgell | 1 | -6/+3 | |
Using common parameters means that the ldb_wrap code can return a reference rather than a new database | |||||
2009-10-15 | s4-dsdb: added samdb_rodc() and samdb_ntds_options() | Andrew Tridgell | 1 | -1/+1 | |
Later we will need to make samdb_rodc() look in the database, but for now we should at least have the function in a central place | |||||
2009-10-14 | s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way. | |||||
2009-10-07 | s4-drs: fixed a memory error introduced yesterday | Andrew Tridgell | 1 | -1/+1 | |
ids is retrurned via _ids, so it needs to be on the passed in mem_ctx | |||||
2009-10-06 | s4-repl: added RELAX control and fix transactions | Andrew Tridgell | 1 | -8/+57 | |
Added the RELAX control to dsdb_origin_objects_commit(), as it needs to modify system objects. This patch also fixes the use of ldb transactions in that function, and fixes a memory leak. | |||||
2009-09-22 | s4-ldb: added a bunch more debug for DC join | Andrew Tridgell | 1 | -0/+4 | |
These additional debug messages were added to help us track down w2k8->s4 domain join | |||||
2009-09-19 | s4:dsdb Print the partition we failed to suggest replication for | Andrew Bartlett | 1 | -1/+2 | |
2009-09-18 | s4-server: kill main daemon if a task fails to initialise | Andrew Tridgell | 3 | -10/+12 | |
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state. | |||||
2009-09-16 | s4-repl: raise a debug level | Andrew Tridgell | 1 | -1/+1 | |
2009-09-15 | s4-repl: take advantage of async RPC forwarding | Andrew Tridgell | 1 | -5/+3 | |
This uses async RPC forwarding for the DsReplicaSync call | |||||
2009-09-15 | s4-repl: don't do double replication | Andrew Tridgell | 2 | -2/+36 | |
When we replicate from a remote DC, we need to note the new uSN that the local changes have resulted in, and modify the uSN that the notify task uses to determine if it should send a ReplicaSync message back to the remote DC. Otherwise we end up always triggering a ReplicaSync every time we replicate from another DC | |||||
2009-09-15 | s4-repl: add a debug to make it easier to monitor replication | Andrew Tridgell | 1 | -0/+5 | |
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. |