passchange: error message fix
authorMichael Tokarev <mjt@tls.msk.ru>
Mon, 26 Feb 2024 12:35:35 +0000 (15:35 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 12 Jan 2025 20:16:00 +0000 (23:16 +0300)
Forwarded: https://gitlab.com/samba-team/samba/-/merge_requests/3872

Missing space and newline.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Gbp-Pq: Name passchange-error-message.patch

source3/libsmb/passchange.c

index 3231d0bfff2d5a7e01ce1969cd13eafea42650d1..c8bb0df0200ea314780fb2ceb075556736f0fff2 100644 (file)
@@ -232,8 +232,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) {