From: Joseph Sutton Date: Mon, 31 Jul 2023 04:06:56 +0000 (+1200) Subject: auth: Add missing newlines to logging messages X-Git-Tag: tevent-0.16.0~1246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa0d17a79bc8da8d19c317f5f85b84a3fa4d16c5;p=thirdparty%2Fsamba.git auth: Add missing newlines to logging messages Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/auth/auth_sam_reply.c b/auth/auth_sam_reply.c index 8825ae8f83d..27f04e86434 100644 --- a/auth/auth_sam_reply.c +++ b/auth/auth_sam_reply.c @@ -697,7 +697,7 @@ NTSTATUS make_user_info_dc_netlogon_validation(TALLOC_CTX *mem_ctx, matches. */ if (!base->domain_sid) { - DEBUG(0, ("Cannot operate on a Netlogon Validation without a domain SID")); + DEBUG(0, ("Cannot operate on a Netlogon Validation without a domain SID\n")); talloc_free(user_info_dc); return NT_STATUS_INVALID_PARAMETER; } @@ -899,7 +899,7 @@ NTSTATUS make_user_info_dc_pac(TALLOC_CTX *mem_ctx, */ if (rg->domain_sid == NULL) { talloc_free(user_info_dc); - DEBUG(0, ("Cannot operate on a PAC without a resource domain SID")); + DEBUG(0, ("Cannot operate on a PAC without a resource domain SID\n")); return NT_STATUS_INVALID_PARAMETER; } diff --git a/auth/credentials/credentials.c b/auth/credentials/credentials.c index 0485cc4e64e..1785423cb70 100644 --- a/auth/credentials/credentials.c +++ b/auth/credentials/credentials.c @@ -1890,7 +1890,7 @@ _PUBLIC_ NTSTATUS netlogon_creds_session_encrypt( * NETLOGON pipe session key . */ if (all_zero(data.data, data.length)) { - DBG_ERR("Supplied data all zeros, could leak session key"); + DBG_ERR("Supplied data all zeros, could leak session key\n"); return NT_STATUS_INVALID_PARAMETER; } if (state->negotiate_flags & NETLOGON_NEG_SUPPORTS_AES) { @@ -1902,7 +1902,7 @@ _PUBLIC_ NTSTATUS netlogon_creds_session_encrypt( data.data, data.length); } else { - DBG_ERR("Unsupported encryption option negotiated"); + DBG_ERR("Unsupported encryption option negotiated\n"); status = NT_STATUS_NOT_SUPPORTED; } if (!NT_STATUS_IS_OK(status)) {