In passchange.c, the following code snippet puts the machine name and error message in the wrong order: slprintf(err_str, err_str_len-1, "SAMR connection to machine %s failed. Error was %s, " "but LANMAN password changed are disabled\n", nt_errstr(result), remote_machine);
Created attachment 4287 [details] Proposed patch
Patch has been pushed. Will be included in 3.3.5 and 3.4.0. 3.2 is not affected by this one. Closing out bug report. Thanks for reporting!