From: Stefan Metzmacher Date: Thu, 3 Feb 2022 17:27:19 +0000 (+0100) Subject: s3:libnet: add a debug message to libnet_keytab_add_to_keytab_entries() X-Git-Tag: tdb-1.4.11~640 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83f03513fd5221cb3bf914bd996c86f0840f34dd;p=thirdparty%2Fsamba.git s3:libnet: add a debug message to libnet_keytab_add_to_keytab_entries() Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source3/libnet/libnet_keytab.c b/source3/libnet/libnet_keytab.c index ea4fd5e8ea8..a0f1af8d791 100644 --- a/source3/libnet/libnet_keytab.c +++ b/source3/libnet/libnet_keytab.c @@ -447,6 +447,8 @@ NTSTATUS libnet_keytab_add_to_keytab_entries(TALLOC_CTX *mem_ctx, NT_STATUS_HAVE_NO_MEMORY(entry.principal); NT_STATUS_HAVE_NO_MEMORY(entry.password.data); + DBG_INFO("%s: kvno:%d enctype:%d\n", entry.principal, kvno, enctype); + ADD_TO_ARRAY(mem_ctx, struct libnet_keytab_entry, entry, &ctx->entries, &ctx->count); NT_STATUS_HAVE_NO_MEMORY(ctx->entries);