From: Michael Adam Date: Thu, 31 Jul 2008 22:03:10 +0000 (+0200) Subject: libnet keytab: add flag clean_old_entries to libnet_keytab_context. X-Git-Tag: samba-3.3.0pre1~297 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f40eb8cc20a297c57f6db22e0c2457ce7425d00c;p=thirdparty%2Fsamba.git libnet keytab: add flag clean_old_entries to libnet_keytab_context. Michael --- diff --git a/source/libnet/libnet_keytab.c b/source/libnet/libnet_keytab.c index 230a4a21f87..ffff0f59ab4 100644 --- a/source/libnet/libnet_keytab.c +++ b/source/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/source/libnet/libnet_keytab.h b/source/libnet/libnet_keytab.h index 54b0c0017ff..4d311a48e0e 100644 --- a/source/libnet/libnet_keytab.h +++ b/source/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 */