From: Volker Lendecke Date: Sat, 13 Oct 2018 08:58:32 +0000 (+0200) Subject: netsamlogon_cache: Improve a DBG message X-Git-Tag: tdb-1.3.17~1305 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa1f959321ae3df9a133e4c2b8992e1233337a2e;p=thirdparty%2Fsamba.git netsamlogon_cache: Improve a DBG message Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index d6889775d24..9638df646f0 100644 --- a/source3/libsmb/samlogon_cache.c +++ b/source3/libsmb/samlogon_cache.c @@ -209,7 +209,8 @@ bool netsamlogon_cache_store(const char *username, struct netr_SamInfo3 *info3) ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, &r, (ndr_push_flags_fn_t)ndr_push_netsamlogoncache_entry); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { - DEBUG(0,("netsamlogon_cache_store: failed to push entry to cache\n")); + DBG_WARNING("failed to push entry to cache: %s\n", + ndr_errstr(ndr_err)); goto fail; }