summaryrefslogtreecommitdiffstats
path: root/debian/patches/passchange-error-message.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/passchange-error-message.patch')
-rw-r--r--debian/patches/passchange-error-message.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/passchange-error-message.patch b/debian/patches/passchange-error-message.patch
new file mode 100644
index 0000000..710f10f
--- /dev/null
+++ b/debian/patches/passchange-error-message.patch
@@ -0,0 +1,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) {