libnet keytab: add flag clean_old_entries to libnet_keytab_context.
authorMichael Adam <obnox@samba.org>
Thu, 31 Jul 2008 22:03:10 +0000 (00:03 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 1 Aug 2008 14:07:59 +0000 (16:07 +0200)
Michael
(This used to be commit f40eb8cc20a297c57f6db22e0c2457ce7425d00c)

source3/libnet/libnet_keytab.c
source3/libnet/libnet_keytab.h

index 230a4a21f878089351aa904d3b25355a490af9cf..ffff0f59ab48755bb18eb98914176a5732506ce2 100644 (file)
@@ -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;
 
index 54b0c0017ffd9a8e771a53c5ac91a1622db2f73d..4d311a48e0ee1d98a9f197eb98661d5cf2cc508d 100644 (file)
@@ -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 */