On Tue, 2002-12-17 at 06:37, Willi Mann wrote:
> Thanks for your fast answer but that's not the problem.
> 
> rpc shutdown with windows2000 offers you four possibilities what you 
> want to do:
> -logoff current user
> -shutdown (which really shuts down w2k but doesn't power off)
> -reboot
> -power off (if supported) (which does what I want)
> 
> and three methods how to deal with applications, which block the process:
> -never
> -when no reaction
> -always
> 
> Window: my computer > administration > properties > extended > shutdown
> 
> The windows api also knows these different methods (look for 
> exitwindowsex on m$dn).
> 
> My problem is that remote shutdown from windows 2000 machines (german) 
> only works if the remote machine is in the same domain. The samba net 
> rpc shutdown command doesn't depend on that detail. However, it doesn't 
> solve my problem because I want to power off the machines to avoid disk 
> damage (8 hours but not more for "class C" drives says an Austrian IBM 
> branch) but that command doesn't offer you that different ways shutdown 
> methods.

Grab a sniffer, and figure out what Win2k does that Samba does not do. 
Then see if you can come out with a patch - there just might be a few
more flags in there we didn't know about.  

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to