summaryrefslogtreecommitdiffstats
path: root/debian/patches/passchange-error-message.patch
blob: 710f10f8a39f8eea71f9b5d252c3ab7e17ad3c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Michael Tokarev <mjt@tls.msk.ru>
Date: Mon, 26 Feb 2024 15:35:35 +0300
Subject: passchange: error message fix
Forwarded: yes

Missing space and newline.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 716bfa39a3b..4049ad0fea1 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -221,8 +221,8 @@ NTSTATUS remote_password_change(const char *remote_machine,
 		if (!NT_STATUS_IS_OK(result)) {
 			int rc = asprintf(
 				err_str,
-				"machine %s rejected to change the password"
-				"with error: %s",
+				"machine %s rejected to change the password "
+				"with error: %s\n",
 				remote_machine,
 				get_friendly_nt_error_msg(result));
 			if (rc <= 0) {