Networking Forums

Networking Forums > Computer Networking > Linux Networking > Using Samba to shutdown windows from Linux terminal

Reply
Thread Tools Display Modes

Using Samba to shutdown windows from Linux terminal

 
 
diffuser78@gmail.com
Guest
Posts: n/a

 
      05-12-2006, 12:36 PM
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown windows from linux diffuser78@gmail.com Linux Networking 25 05-12-2006 09:58 PM
Linux thin client connecting to Windows 2003 terminal server Tobias Linux Networking 5 07-22-2004 12:27 AM
connect from linux to windows 2000 terminal server? stig Linux Networking 3 02-18-2004 05:54 AM
Graphical terminal emulator for Windows->Linux access. san Linux Networking 23 01-26-2004 06:09 PM
Samba: Windows can't see Linux Robert Book Linux Networking 3 07-27-2003 07:00 PM



1 2 3 4 5 6 7 8 9 10 11