summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_dssync.c1
-rw-r--r--source3/libnet/libnet_dssync.h1
-rw-r--r--source3/libnet/libnet_dssync_keytab.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c
index f1a98f67d3..92000b432b 100644
--- a/source3/libnet/libnet_dssync.c
+++ b/source3/libnet/libnet_dssync.c
@@ -50,6 +50,7 @@ NTSTATUS libnet_dssync_init_context(TALLOC_CTX *mem_ctx,
NT_STATUS_HAVE_NO_MEMORY(ctx);
talloc_set_destructor(ctx, libnet_dssync_free_context);
+ ctx->clean_old_entries = false;
*ctx_p = ctx;
diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h
index c9804fb953..5373fbc8dd 100644
--- a/source3/libnet/libnet_dssync.h
+++ b/source3/libnet/libnet_dssync.h
@@ -37,6 +37,7 @@ struct dssync_context {
const char *nc_dn;
bool single_object_replication;
bool force_full_replication;
+ bool clean_old_entries;
uint32_t object_count;
const char **object_dns;
struct policy_handle bind_handle;
diff --git a/source3/libnet/libnet_dssync_keytab.c b/source3/libnet/libnet_dssync_keytab.c
index 2558e1d801..51156cbdba 100644
--- a/source3/libnet/libnet_dssync_keytab.c
+++ b/source3/libnet/libnet_dssync_keytab.c
@@ -67,6 +67,7 @@ static NTSTATUS keytab_startup(struct dssync_context *ctx, TALLOC_CTX *mem_ctx,
}
keytab_ctx->dns_domain_name = ctx->dns_domain_name;
+ keytab_ctx->clean_old_entries = ctx->clean_old_entries;
ctx->private_data = keytab_ctx;
principal = talloc_asprintf(mem_ctx, "UTDV/%s@%s",