Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-02-10 | ldb: use #include <ldb.h> for ldb | Andrew Tridgell | 5 | -5/+5 | |
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-26 | s4-kcc: fixed valgrind errors in drs replicaInfo server side | Andrew Tridgell | 1 | -7/+5 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 26 03:52:30 CET 2010 on sn-devel-104 | |||||
2010-11-24 | s4-kcc: disable the NDR printing of DRS getinfo requests | Andrew Tridgell | 1 | -0/+4 | |
2010-11-18 | s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replication | Andrew Tridgell | 1 | -0/+1 | |
see the description of this flag in [MS-DRSR] | |||||
2010-11-17 | s4-kcc: fixed result_last_attempt in showrepl | Andrew Tridgell | 1 | -0/+1 | |
2010-11-08 | s4-debug: lowered the debug level of some unimportant messages | Andrew Tridgell | 1 | -2/+2 | |
2010-11-04 | s4:dsdb/kcc: fix memory leak in kcctpl_copy_output_edges() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2010-10-23 | s4 dsdb kcc: Prefer msDS-hasMasterNCs over hasMasterNCs when replicating | Kai Blin | 1 | -5/+10 | |
2010-10-15 | s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵ | Matthias Dieter Wallnöfer | 2 | -20/+20 | |
"samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-10 | samdb: Add flags argument to samdb_connect(). | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-03 | s4:dsdb - substitute the "show_deleted" with the "show_recycled" control | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
We intend to see always all objects with the "show_deleted" control specified. To see also recycled objects (beginning with 2008_R2 function level) we need to use the new "show_recycled" control. As far as I see this is only internal code and therefore we don't run into problems if we do substitute it. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-03 | s4-kcc: silence "Testing kcctpl_create_intersite_connections" message | Andrew Tridgell | 1 | -1/+1 | |
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Oct 3 04:51:44 UTC 2010 on sn-devel-104 | |||||
2010-10-02 | s4-kcc: remove stale repsTo entries in the KCC | Andrew Tridgell | 1 | -0/+32 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-29 | s4-kcc: fixed the replica_flags in repsFrom in the kcc | Andrew Tridgell | 1 | -31/+72 | |
if our calculated replica_flags doesn't match the ones in our repsFrom then update it Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | |||||
2010-09-27 | s4-kcc: fixed a incorrect context to kcctpl_get_all_bridgehead_dcs | Andrew Tridgell | 1 | -1/+1 | |
2010-09-27 | s4-kcc: don't print "Testing kcctpl_create_intersite_connections" | Andrew Tridgell | 1 | -1/+1 | |
log level 0 is excessive for this! | |||||
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 | |