[Samba] Can I use smbclient to run EXEs?

Joel Hammer Joel at HammersHome.com
Mon Aug 12 11:24:00 GMT 2002


Why not just telnet into your w2k machine? EXPECT might be able to do
this for you, and return the results, say with ftp.

Joel

On Mon, Aug 12, 2002 at 02:13:32PM -0500, Jeremy Tinley wrote:
> Howdy,
> 
> I’m attempting to use smbclient to log into a Windows 2000 workstation
> and run a single EXE file.
> 
> 1) Can smbclient do this?  I can mount shared folders, but can I
> actually run an executable and return the results to my unix shell?
> 
> 2a) If so, how?  smbclient //machinename/sharename/executable.exe
> returns a “NT_STATUS_BAD_NETWORK_NAME” error.
> 
> 2b) If not, can someone suggest an alternate method, aside from writing
> a socket application to listen to commands and run the appropriate
> commands locally.
> 
> Appreciate the help,
> Jeremy
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list