summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-08-01 00:03:10 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:07:59 +0200
commit18573c3e1fba45cd5f8ae3f3e2634d2a1efdf3e3 (patch)
tree5146311a95a7e69c407ce89e49fa4bee01e77dc6
parent134d8319c92436efa2e581e62d5ad4e8e1ef1d18 (diff)
downloadsamba-18573c3e1fba45cd5f8ae3f3e2634d2a1efdf3e3.tar.gz
samba-18573c3e1fba45cd5f8ae3f3e2634d2a1efdf3e3.tar.bz2
samba-18573c3e1fba45cd5f8ae3f3e2634d2a1efdf3e3.zip
libnet keytab: add flag clean_old_entries to libnet_keytab_context.
Michael (This used to be commit f40eb8cc20a297c57f6db22e0c2457ce7425d00c)
-rw-r--r--source3/libnet/libnet_keytab.c1
-rw-r--r--source3/libnet/libnet_keytab.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/libnet/libnet_keytab.c b/source3/libnet/libnet_keytab.c
index 230a4a21f8..ffff0f59ab 100644
--- a/source3/libnet/libnet_keytab.c
+++ b/source3/libnet/libnet_keytab.c
@@ -96,6 +96,7 @@ krb5_error_code libnet_keytab_init(TALLOC_CTX *mem_ctx,
r->context = context;
r->keytab = keytab;
r->keytab_name = keytab_string;
+ r->clean_old_entries = false;
*ctx = r;
diff --git a/source3/libnet/libnet_keytab.h b/source3/libnet/libnet_keytab.h
index 54b0c0017f..4d311a48e0 100644
--- a/source3/libnet/libnet_keytab.h
+++ b/source3/libnet/libnet_keytab.h
@@ -36,6 +36,7 @@ struct libnet_keytab_context {
uint8_t zero_buf[16];
uint32_t count;
struct libnet_keytab_entry *entries;
+ bool clean_old_entries;
};
#endif /* HAVE_KRB5 */