def _get_smbclient_command_args(self, host, username, password, command, share='C$',
                                    domain=None):
        """
        :param command: Samba command string.
        :type command: ``str``

        :param share: Samba share name.
        :type share: ``str``
        """
        args = ['smbclient']

        values = {'domain': domain, 'username': username, 'password': password}
        if domain:
            auth_string = '%(domain)s\%(username)s%%%(password)s' % values
        else:
            auth_string = values % '%(username)s%%%(password)s'

        # Authentication info
        args += ['-U', auth_string]

        # Host and share
        args += ['//%(host)s/%(share)s' % {'host': host, 'share': share}]

        # Command
        args += ['-c', command]
        return args
dataset/ETHPy150Open StackStorm/st2/st2actions/st2actions/runners/windows_runner.py/BaseWindowsRunner._get_smbclient_command_args/swapped operands of `%`