Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-23 | s4/dsdb:kcc: cleanup and improve readability | Anatoliy Atanasov | 1 | -4/+5 | |
2010-09-23 | s4:dsdb/kcc: we don't need to manually allocate [out,ref] pointers anymore | Stefan Metzmacher | 1 | -6/+1 | |
metze Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2010-09-23 | s4-kcc: the kcc should not be setting the repsTo attribute | Andrew Tridgell | 1 | -32/+2 | |
repsTo is set by other DCs, when they ask to be notified about changes in a partition | |||||
2010-09-23 | s4-kcc: added service->am_rodc | Andrew Tridgell | 4 | -21/+14 | |
use a rodc flag on the service instead of calling samdb_rodc each time | |||||
2010-09-23 | s4-kcc: pass the service context into the kcc connection code | Andrew Tridgell | 2 | -64/+65 | |
this will be used for the RODC changes needed for the kcc | |||||
2010-09-20 | s4-kcc: a bit more debug info on repsFrom creation | Andrew Tridgell | 1 | -1/+7 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-15 | s4-kcc: removed redundent loop check | Andrew Tridgell | 1 | -1/+1 | |
el has already been checked for NULL | |||||
2010-09-09 | s4-dreplsrv: Do allocations on long-living context so that callback gets called | Kamen Mazdrashki | 1 | -1/+1 | |
2010-09-03 | s4:dsdb/kcc: use irpc_binding_handle_by_name() | Stefan Metzmacher | 1 | -6/+39 | |
metze | |||||
2010-08-28 | s4-kcc: Notify dreplsrv that Topology has changed | Kamen Mazdrashki | 1 | -0/+29 | |
2010-08-28 | s4-kcc: Assert when unexpected repsFromToBlob version is passed | Kamen Mazdrashki | 1 | -2/+4 | |
At present we only support v1 structures (Win2k3 and earlier), so it is good to make it obvious. In case we start supporting v2 we will be able to notice this function should be refactored right away | |||||
2010-08-07 | s4:kcc_connection.c - fix typo in error message | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 3 | -5/+5 | |
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-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 1 | -1/+1 | |
2010-04-27 | s4:kcc_periodic.c - fix counter types | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
We are counting LDB objects here -> therefore "unsigned" | |||||
2010-04-27 | s4-drs: add entries to repsTo based on calculated repsFrom | Andrew Tridgell | 1 | -2/+30 | |
This is based on the documentation: "the KCC will automatically create the Reps-To attributes on destination DSAs based on other DSAs Reps-From entries." | |||||
2010-04-27 | s4-drepl: don't setup a repsFrom from a DC that isn't a master for a NC | Andrew Tridgell | 1 | -5/+50 | |
use hasMasterNCs to see what NCs we should be pulling from each DC | |||||
2010-04-22 | s4-drs: samdb_is_rodc() function and new samdb_rodc() function | Fernando J V da Silva | 1 | -3/+15 | |
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-04-11 | subunit: Support formatting compatible with upstream subunit, for consistency. | Jelmer Vernooij | 1 | -1/+1 | |
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit. | |||||
2010-03-16 | s4:dsdb Change dsdb_get_schema() callers to use new talloc argument | Andrew Bartlett | 1 | -1/+9 | |
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-16 | s4:dsdb/kcc/*.c - fix up wrong typed counters | Matthias Dieter Wallnöfer | 5 | -20/+22 | |
2010-03-16 | s4-drs: DsGetReplInfo(), infoType = DS_REPL_INFO_METADATA_2_FOR_OBJ | Erick Nogueira do Nascimento | 1 | -80/+284 | |
Implementation of the DS_REPL_INFO_METADATA_2_FOR_OBJ infoType for DsGetReplInfo() Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-03-12 | use unsigned instead of uint32_t for LDB counters. | Crístian Deives | 1 | -4/+6 | |
the attribute num_values of the struct ldb_message_element is defined as an unsigned int, so the counters of that variable should be of the same type. | |||||
2010-03-12 | nTDSConnection creation | Crístian Deives | 2 | -0/+817 | |
create nTDSConnection objects to "imply" the minimum-cost spanning tree edges for which no nTDSConnection objects yet exist. it also adds a test function in kcc_connection so the kcctpl functions can be called. this patch is in accord with the sections [MS-ADTS] 7.2.2.3.4.2 and 7.2.2.3.4.5. | |||||
2010-03-12 | spanning tree computation | Crístian Deives | 1 | -0/+1692 | |
calculate the spanning tree for the intersite connection. this patch is in accord with the section [MS-ADTS] 7.2.2.3.4.4. | |||||
2010-03-12 | new function kcctpl_color_vertices | Crístian Deives | 1 | -213/+576 | |
besides the new function implemented, some minor bugs were also fixed. this patch is in accord with the section [MS-ADTS] 7.2.2.3.4.3. | |||||
2010-03-05 | s4:kcc - Change some counter variables to be unsigned | Matthias Dieter Wallnöfer | 2 | -4/+5 | |
The upper limits are unsigned variables therefore also the counter variables need to be like that. | |||||
2010-02-24 | s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code | Kamen Mazdrashki | 1 | -2/+2 | |
2010-02-17 | s4/drs:kccdrs_replica_get_info_obj_metadata implementation | Anatoliy Atanasov | 1 | -12/+88 | |
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl The get_info_obj_metadata implementation is ported from implementation i developed and tested at the samba io lab 2009 | |||||
2010-02-16 | s4-kcc: remove a qsort() that snuck into the new topology code | Andrew Tridgell | 1 | -2/+1 | |
2010-02-16 | s4-kcc: remove search_onelevel_with_deleted() in kcc | Andrew Tridgell | 1 | -52/+3 | |
Use dsdb_search() instead Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid() | Andrew Tridgell | 2 | -18/+7 | |
dsdb_find_dn_by_guid() now takes a struct GUID instead of a guid_string. All the callers in fact wanted a struct GUID, so we now avoid the extra conversion. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-drs: DsGetReplInfo() refactoring | Erick Nogueira do Nascimento | 1 | -263/+190 | |
2010-02-16 | s4-drs: DsReplGetInfo() for DS_REPL_INFO_REPSTO infoType | Erick Nogueira do Nascimento | 1 | -4/+142 | |
Implements the DS_REPL_INFO_REPSTO infoType of DsReplGetInfo(). | |||||
2010-02-15 | s4-kcc: remove C++ comment | Andrew Tridgell | 1 | -1/+1 | |
2010-02-15 | s4-kcc: initial code for the topology algorithm | Crístian Deives | 1 | -0/+614 | |
this patch contains the data structures declarations and the functions to setup the graph. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-18 | idl: switched to using the WSPP names for the 'neighbour' DRS options | Andrew Tridgell | 1 | -3/+3 | |
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations. | |||||
2010-01-16 | s4-kcc: added DsReplicaGetInfo pending ops call | Andrew Tridgell | 1 | -1/+30 | |
Just return 0 pending ops for now | |||||
2010-01-16 | s4-kcc: added DsReplicaGetInfo CURSORS2 level | Andrew Tridgell | 1 | -0/+29 | |
2010-01-16 | s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context | Andrew Tridgell | 1 | -2/+2 | |
2010-01-16 | s4-kcc: added support for CURSORS info level in DsReplicaGetInfo | Andrew Tridgell | 1 | -3/+34 | |
2010-01-16 | s4-kcc: simplify the ReplicaGetInfo implementation a bit | Andrew Tridgell | 1 | -53/+17 | |
2010-01-16 | s4-kcc: squash a warning | Andrew Tridgell | 1 | -0/+2 | |
2010-01-16 | s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS ↵ | Andrew Tridgell | 2 | -2/+504 | |
infoType. This patch includes the framework for the implementation of all infoTypes of the DsGetReplInfo() call, and includes the implementation for the first one, the DS_REPL_INFO_NEIGHBORS. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-01-02 | s4-kcc: added a preiodic task to remove deleted objects | Andrew Tridgell | 3 | -4/+103 | |
we check for deleted objects in each partition every 10 minutes, using onelevel searches | |||||
2010-01-02 | s4-dsdb: added dsdb_tombstone_lifetime() | Andrew Tridgell | 1 | -0/+64 | |
2009-12-21 | s4-kcc: don't crash with a NULL ntds connection list | Andrew Tridgell | 1 | -3/+3 | |
2009-11-30 | s4-drs: add deletion of old connections | Crístian Deives | 3 | -37/+190 | |
the nTDSConnection objects that are not needed anymore will be deleted. the function kccsrv_delete_connection wasn't tested yet. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-30 | s4-drs: Create connection obejct (nTDSConnection) | Crístian Deives | 2 | -0/+129 | |
create nTDSConnection objects to match the list of servers Signed-off-by: Andrew Tridgell <tridge@samba.org> |