rpcclient Shutdown

Peter Samuelson peter at cadcamlab.org
Wed Apr 19 05:25:40 GMT 2000

[Warren Beckett]
> I have compile rpcclient using the last CVS, and have some questions
> regarding it.  I would like to use rpcclient with perl to do a remote
> shutdown to NT Workstations on lan.

Try rpcclient from Samba-TNG.

To get Samba-TNG, either download an alpha release from the usual
places (in the alpha/ directory), or use CVS with the SAMBA_TNG tag.
My preferred method would be something like:

  cvs -d :pserver:cvs at cvs.samba.org:/cvsroot -r SAMBA_TNG co samba
    [Password: cvs]
  mv samba samba-tng
  mkdir samba-tng-build
  cd samba-tng-build
  make bin/rpcclient
  bin/rpcclient -S ntbox -W ntbox -U user%passwd -c shutdown


More information about the samba mailing list