rundeck-plugins / rundeck-winrm-plugin

Rundeck WinRM Node Executor plugin
Other
56 stars 28 forks source link

WinRM filecopier #57

Open Ayora29 opened 6 years ago

Ayora29 commented 6 years ago

Hello,

Command execution with winrm works fine but when I try to copy a file i get the following errors : com.xebialabs.overthere.RuntimeIOException: Cannot open \\C$\myfile for writing: jcifs.smb.SmbException: Failed to connect: 0.0.0.0<00>/ jcifs.util.transport.TrnasportException: Connection timeout.

Could you help? Thanks

IAPOLINARIO commented 5 years ago

That is probably due to the SMBv1 protocol not enabled on your windows node.

ajsandham commented 5 years ago

Hi, there. I'm experiencing the same issue here. I have SMBv1 enabled, just getting a timeout still. Out of interest did you find a work around @Ayora29 ?

chupasaurus commented 5 years ago

@IAPOLINARIO Version of Samba has nothing to do there. As you can see, there is no target machine in URI, which is superseded by 0.0.0.0. No way anyone could connect to that.