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)
committerStefan Metzmacher <metze@samba.org>
Thu, 4 May 2017 23:37:45 +0000 (01:37 +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

python/samba/netcmd/user.py

index 47d958d6104c2ceed9cf4441c52dd74c25a80b24..f1e17ddd4c7cb0a715452109193a967f793b0557 100644 (file)
@@ -1617,7 +1617,7 @@ samba-tool user syncpasswords --terminate \\
             return
 
         def run_sync_command(dn, ldif):
             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,
             sync_command_p = Popen(self.sync_command,
                                    stdin=PIPE,
                                    stdout=PIPE,