samba-tool: fix log message of 'samba-tool user syncpasswords'
authorStefan Metzmacher <metze@samba.org>
Tue, 25 Apr 2017 11:25:10 +0000 (13:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 30 Jun 2017 08:50:22 +0000 (10:50 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12768

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri May  5 01:37:45 CEST 2017 on sn-devel-144

(cherry picked from commit 4c17850ae7b6c85e99e5d4d5bc5d8e89a9ba6d47)

python/samba/netcmd/user.py

index 858ade4f74a32058d82c781a2b2baf4f716a642b..1c2f3ec4c5649558a9365abd44df3ea855421f95 100644 (file)
@@ -1617,7 +1617,7 @@ samba-tool user syncpasswords --terminate \\
             return
 
         def run_sync_command(dn, ldif):
-            log_msg("Call Popen[%s] for %s\n" % (dn, self.sync_command))
+            log_msg("Call Popen[%s] for %s\n" % (self.sync_command, dn))
             sync_command_p = Popen(self.sync_command,
                                    stdin=PIPE,
                                    stdout=PIPE,