Execution on NT

Vriesman, Jeroen j.vriesman at vitras.nl
Fri Sep 1 11:24:29 GMT 2000

See if you can find rexec for NT, that should make it possible to execute
something on NT from the Unix machine. 

-----Oorspronkelijk bericht-----
Van: Neil Hoggarth [mailto:neil.hoggarth at physiol.ox.ac.uk]
Verzonden: vrijdag 1 september 2000 10:46
Aan: samba at samba.org
Onderwerp: Re: Execution on NT

On Thu, 31 Aug 2000, DAGNICOURT Sebastien - NTR wrote:

> I try to exectute a command on my NT server from my unix server with =
> the
> following command :
> smbclient \\\\monnet01\\C$ -U admin_nan -c "help.exe"

smbclient can't do that, I'm afraid. The "-c command" option to
smbclient is for you to supply an *smbclient* command line, not
a Windows command line. So, running something like

  smbclient '\\server\printer' -N -c "print file.ps"

is equivalent to running

  smbclient '\\server\printer' -N

and typing "print file.ps" at the "smb:\>" prompt.

Neil Hoggarth                                 Departmental Computer Officer
<neil.hoggarth at physiol.ox.ac.uk>                   Laboratory of Physiology
http://www.physiol.ox.ac.uk/~njh/                  University of Oxford, UK

More information about the samba mailing list