[PATCH] and question - net rpc shutdown

Willi Mann newsletters at wm1.at
Mon Dec 23 22:40:01 GMT 2002


Richard Sharpe wrote:

>On Mon, 23 Dec 2002, Willi Mann wrote:
>
>  
>
>>Hi!
>>
>>This patch corrects a problem with the default comment for net rpc 
>>shutdown.
>>(diff against 3.0)
>>
>>My power off - problem persists because net rpc shutdown is similar to 
>>InitiateSystemShutdown, which is not able to power off the computer. In 
>>my research I've found out that powering off needs a Remote API call (if 
>>my interpretations of the data on the wire are correct). Is there any 
>>function in Samba which can send a remote API call?
>>    
>>
>
>Do you mean a RAP call? The net function does them.
>
>Regards
>-----
>Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
>sharpe[at]ethereal.com, http://www.richardsharpe.com
>
>
>
>  
>
The function I'd need is the ExitWindowsEx winapi function. I don't 
think that rap provides what I need.

If you want to help me, there are the links to the initial messages of 
my problem:
http://lists.samba.org/pipermail/samba-technical/2002-December/041366.html
http://lists.samba.org/pipermail/samba-technical/2002-December/041369.html

One mistake is in that postings: The shutdown method provided in w2k 
works if the local and the remote user have the same usernames and 
passwords, it is not requrired that they are in the same domain.

Thanks
Willi Mann




More information about the samba-technical mailing list