[latest cvs] rpcclient "sam*" commands have GNU readline completion

Luke Kenneth Casson Leighton lkcl at samba.org
Tue Nov 2 17:33:09 GMT 1999


On Tue, 2 Nov 1999, David Bannon wrote:

> At ... Luke Kenneth Casson Leighton wrote:
> 
> >> what else can i add.... hmm... weeeellll... if i added a command to
> >> terminate file connections / sessions....  if i added a command to delete
> >> shares.... how about a shareinfo command...
> 
> Any chance of doing the 'shutdown and power off' thing with rpcclient ? NTs
> that have been setup to do a 'power off' don't do it when shutdown via
> rpcclient. I've made a little programme that shuts down all machines in a
> lab (to get the kiddies out) but it would be nice to power them off too !

don't think it's possible.  there are only two flags: force apps closed;
reboot after shutdown.

you may have to reconfigure the box (registry?) to power-off after
shutdown, just like win9x.  check ms kb for info.

p.s can u send that program to me, i'll add it to examples/rpcclient?



More information about the samba-ntdom mailing list