barsenault@gto.net
2004-Mar-24 00:44 UTC
[Samba] RPCClient - Shutting down a Windows machine from Linux
Quoting Andrew Bartlett <abartlet@samba.org>:> Try 'net rpc shutdown' instead. They use slightly different codepaths > now.Thanks for the suggestion. I didn't realize I could acheive the same thing using _net_. Unfortunately, I also received similar problems. Now the error looks like this when no user is logged into the windows machine: []# net rpc shutdown -I x.x.x.x -U Administrator Password: [2004/03/23 19:30:18, 0] utils/net_rpc.c:rpc_shutdown_internals(1571) Shutdown of remote machine failed! When a user is logged into Windows, the above error does not appear, and shutdown occurs as usual. What services other that RemoteProcedureCall are necessary for this in Windows? Brian Andrew, sorry about the off-list post. Most of my other mailing lists reply-to group. ba -------------------------------------------------------------------- This mail sent through WebMail | Courtesy of Golden Triangle On Line