Hi,
I am trying to shutdown remote windows machine from Linux box using
Samba. There are certain utilities in Samba like "net rpc" and
"rpccliient" which lets you execute client side MS-RPC functions.
My question is.... are the any specific setting in the windows machine
which I need to enalble it to be used using Samba from linux box.
I tried the following
rpcclient -U username -I IP Address -c REG shutdown
and I get an error
failed tcon_X with NT_STATUS_DUPLICATE_NAME
Cannot Connect to Server. Error was NT_STATUS_DUPLICATE_NAME
Every help is appreciated.
|