This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Need sample to connect from Linux to windows servers

Can anyone please share the process or code sample to connect from StackStorm linux server to windows servers?

https://www.google.com/search?source=hp&ei=PNdxW45MhvD_BNzBr_gO&q=stackstorm+windows&oq=stackstorm+windows&gs_l=psy-ab.3..0j0i22i30k1.1074.3214.0.3644.18.17.0.0.0.0.184.1981.7j10.17.0..2..0...1.1.64.psy-ab..1.17.1977...0i131k1.0.0a6hbUYWYfc

@lhill Thanks much…

As per stackstorm document required samba client is 4.1.

smbclient >= 4.1 - Command line Samba client ( smbclient package on Ubuntu and samba-client package on Fedora)`

Can i install version “4.6.2”? Can we have version greater than 4.1 for samba? Please respond ASAP.

The document states “smbclient >= 4.1”

>= is commonly used in mathematics and programming and means “Greater than or Equal to”

If you require immediate, on-demand support, please contact [email protected].

Okays, please take your time and respond .

You can use Windows Integration Pack - GitHub - StackStorm-Exchange/stackstorm-windows.

A simple Mistral workflow executing a remote command would be like this:

---
version: '2.0'

default.remote-windows-command-demo:
  input:
    - host
    - user
    - password
  tasks:
    Dir_C_Drive:
      action: windows.winexe_cmd
      input:
        command: "dir c:\\"
        host: <% $.host %>
        username: <% $.user %>		
        password: <% $.password %>

Regards,

Luciano

@luciano Thanks :slightly_smiling_face: