Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-07 | s4-dreplsrv: Run NC replication synchronously if requested | Kamen Mazdrashki | 1 | -30/+119 | |
2010-09-05 | s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions | Kamen Mazdrashki | 1 | -1/+1 | |
Sorry for the 'custom' definition first time | |||||
2010-09-03 | s4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSR | Kamen Mazdrashki | 1 | -8/+111 | |
see: MS-DRSR - 4.1.23.2 Note: Synchronious replication not implemented yet. | |||||
2010-09-03 | s4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS name | Kamen Mazdrashki | 1 | -0/+40 | |
2010-09-03 | s4-dreplsrv: Helper to find NC by DN or GUID or SID | Kamen Mazdrashki | 1 | -0/+33 | |
2010-09-03 | s4-dreplsrv: Add caller-specific data parameter for dreplsrv_fsmo_callback_t | Kamen Mazdrashki | 3 | -7/+14 | |
It is to be used when we need to preserve a state to be used in tha callback when dreplsrv_out_operation is completed | |||||
2010-08-28 | s4-dreplsrv: Implement irpc stub to be used to force dreplsrv to update ↵ | Kamen Mazdrashki | 1 | -0/+20 | |
internal cache This IRPC calls is to be used whenever repsFrom/repsTo are changed by administrative tool or KCC (i.e. Topology changes). At present, only KCC may change topology. | |||||
2010-08-28 | s4-dreplsrv: Move partition cache update before scheduling another set of ↵ | Kamen Mazdrashki | 1 | -3/+7 | |
replications | |||||
2010-08-25 | s4-repl: load RODC partitions using msDS-hasFullReplicaNCs | Andrew Tridgell | 2 | -4/+28 | |
we mark these as incoming_only Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 3 | -6/+6 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-09 | s4:drepl_notify: hide some bugs from the make test output | Stefan Metzmacher | 1 | -1/+12 | |
It's useless to get messages like this every few seconds: dreplsrv_notify: Failed to send DsReplicaSync to edbf4745-2966-49a7-8653-99200f1c9430._msdcs.samba2003.example.com for CN=Configuration,DC=samba2003,DC=example,DC=com - NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE We have a non bug regarding non-linked DN attributes and changes of the target DN. metze | |||||
2010-07-09 | s4:dsdb/repl: expose drsuapi_DsExtendedError to the caller (e.g. the ↵ | Stefan Metzmacher | 4 | -6/+13 | |
ridalloc client) metze | |||||
2010-07-09 | s4:drepl_out_helpers: don't return NT_STATUS_OK, if an extended operation ↵ | Stefan Metzmacher | 1 | -1/+14 | |
doesn't return success metze | |||||
2010-07-09 | s4:drepl_ridalloc: only ask the rid master for a new rid pool if we need to. | Stefan Metzmacher | 1 | -9/+38 | |
if we are at least half-exhausted then ask for a new pool. This fixes a bug where we're sending unintialized alloc_pool variable as exop->fsmo_info to the rid master and get back DRSUAPI_EXOP_ERR_PARAM_ERROR. metze | |||||
2010-07-07 | s4-dsdb: use ldb_operr() in the dsdb code | Andrew Tridgell | 1 | -1/+2 | |
this replaces "return LDB_ERR_OPERATIONS_ERROR" with "return ldb_operr(ldb)" in places in the dsdb code where we don't already explicitly set an error string. This should make is much easier to track down dsdb module bugs that result in an operations error. | |||||
2010-06-25 | s4/drs: DsReplicaSync should search partition to Sync | Kamen Mazdrashki | 2 | -6/+38 | |
by any valid DSName attribute given, be it - partition DN, partition GUID or partition SID | |||||
2010-06-12 | s4:dsdb Allow calling dsdb_convert_object_ex() directly | Andrew Bartlett | 1 | -6/+6 | |
This will allow the libnet_vampire code to manually convert individual schema objects. Andrew Bartlett | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 1 | -1/+1 | |
2010-05-13 | s4: Do not display by default the message Failed to send DsReplicaSync is ↵ | Matthieu Patou | 1 | -1/+6 | |
other host is just unreachable Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-04-27 | s4-repl: added a workaround for WERR_DS_DRA_NO_REPLICA DsReplicaSync errors | Andrew Tridgell | 2 | -2/+19 | |
The 0xc0002104/WERR_DS_DRA_NO_REPLICA seems to be spurious, and can be avoided by setting DRSUAPI_DRS_SYNC_ALL in the DsReplicaSync request. We need to investigate this further, and find out from MS why this is sometimes being sent, even when the target DC has the right repsFrom entries | |||||
2010-04-27 | s4-repl: on a failed request, clear the current ptr | Andrew Tridgell | 1 | -0/+1 | |
this prevents the queue being stuck on failure | |||||
2010-04-27 | s4-repl: end repl request when not doing an UpdateRefs | Andrew Tridgell | 1 | -0/+2 | |
otherwise the queue is stuck forever | |||||
2010-04-27 | s4-repl: don't delete repsTo entry on DsReplicaSync | Andrew Tridgell | 1 | -46/+12 | |
we rely on the highestUSN counters instead. W2K8 does not resend DsUpdateRefs each time, and the WSPP docs do not indicate that repsTo should be deleted | |||||
2010-04-26 | s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended ops | Andrew Tridgell | 1 | -1/+2 | |
Needed for RID allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-26 | s4-drepl: don't send an UpdateRefs unless its a plain replication | Andrew Tridgell | 1 | -1/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s4-drs: removed dsdb_validate_client_flags() | Andrew Tridgell | 1 | -7/+0 | |
This test is in the wrong place. We end up validating our own flags. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-22 | s40-drs: Do not send GetNCChanges messages to RODCs | Fernando J V da Silva | 1 | -0/+11 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-22 | s4-drs: samdb_is_rodc() function and new samdb_rodc() function | Fernando J V da Silva | 2 | -2/+8 | |
This patch creates the samdb_is_rodc() function, which looks for the NTDSDSA object for a DC that has a specific invocationId and if msDS-isRODC is present on such object and it is TRUE, then consider the DC as a RODC. The new samdb_rodc() function uses the samdb_is_rodc() function for the local server. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-13 | Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
We should use the "ldb_get_*_basedn" calls since they are available in the LDB library. | |||||
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 | |