summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_dssync_keytab.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-01 00:09:28 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:08:00 +0200
commit10225fbef737217d3e1b88bdfcbf4e62dff3cadd (patch)
tree3bf733c52de6344132002a52a6c9025670100d17 /source3/libnet/libnet_dssync_keytab.c
parent52fee9c87ac26fe2bcf4b4795b2c380cf7543c0f (diff)
downloadsamba-10225fbef737217d3e1b88bdfcbf4e62dff3cadd.tar.gz
samba-10225fbef737217d3e1b88bdfcbf4e62dff3cadd.tar.bz2
samba-10225fbef737217d3e1b88bdfcbf4e62dff3cadd.zip
dssync: add clean_old_entries flag to dssync_ctx.
Initialize it to false. And pass it down to the libnet_keytab context in libnet_dssync_keytab.c:keytab_startup(). Unused yet. Michael Note: This might not be not 100% clean design to put this into the toplevel dssync context while it is keytab specific. But then, on the other hand, other imaginable backends might want to use this flag, too... (This used to be commit 12e884f227e240860e49f9e41d8c1f45e10ad3be)
Diffstat (limited to 'source3/libnet/libnet_dssync_keytab.c')
-rw-r--r--source3/libnet/libnet_dssync_keytab.c1
1 files changed, 1 insertions, 0 deletions
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",