[PATCH] and question - net rpc shutdown
newsletters at wm1.at
Mon Dec 23 22:40:01 GMT 2002
Richard Sharpe wrote:
>On Mon, 23 Dec 2002, Willi Mann wrote:
>>This patch corrects a problem with the default comment for net rpc
>>(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.
>Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
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
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.
More information about the samba-technical