Skip to content

Commit

Permalink
auth: Add missing newlines to logging messages
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sutton <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
jsutton24 authored and abartlet committed Aug 8, 2023
1 parent aa9ca51 commit aa0d17a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions auth/auth_sam_reply.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions auth/credentials/credentials.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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)) {
Expand Down

0 comments on commit aa0d17a

Please sign in to comment.