mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
kcc: Remove unused, untested KCC code
This code tries to implement the full KCC algorithm, but never actually worked correctly. Removing this doesn't affect the full-mesh KCC. This code only attempted to calculate a graph using the "proper" algorithm, though it neglected to write its results back into the database. The full-mesh calculation occurs elsewhere. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org> Autobuild-Date(master): Wed Sep 20 06:28:07 CEST 2017 on sn-devel-144
This commit is contained in:
parent
dd53be2756
commit
3e1870c26c
@ -190,7 +190,6 @@ struct kcc_connection_list *kccsrv_find_connections(struct kccsrv_service *s,
|
|||||||
const char *attrs[] = { "objectGUID", "fromServer", NULL };
|
const char *attrs[] = { "objectGUID", "fromServer", NULL };
|
||||||
struct kcc_connection_list *list;
|
struct kcc_connection_list *list;
|
||||||
TALLOC_CTX *tmp_ctx;
|
TALLOC_CTX *tmp_ctx;
|
||||||
kcctpl_test(s);
|
|
||||||
|
|
||||||
tmp_ctx = talloc_new(mem_ctx);
|
tmp_ctx = talloc_new(mem_ctx);
|
||||||
if (!tmp_ctx) {
|
if (!tmp_ctx) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -43,7 +43,7 @@ bld.SAMBA_LIBRARY('dsdb_garbage_collect_tombstones',
|
|||||||
private_library=True)
|
private_library=True)
|
||||||
|
|
||||||
bld.SAMBA_MODULE('service_kcc',
|
bld.SAMBA_MODULE('service_kcc',
|
||||||
source='kcc/kcc_service.c kcc/kcc_connection.c kcc/kcc_topology.c kcc/kcc_periodic.c kcc/kcc_drs_replica_info.c',
|
source='kcc/kcc_service.c kcc/kcc_connection.c kcc/kcc_periodic.c kcc/kcc_drs_replica_info.c',
|
||||||
autoproto='kcc/kcc_service_proto.h',
|
autoproto='kcc/kcc_service_proto.h',
|
||||||
subsystem='service',
|
subsystem='service',
|
||||||
init_function='server_service_kcc_init',
|
init_function='server_service_kcc_init',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user