Am Sonntag, 21. Oktober 2007 18:09:46 schrieb Rikard Johnels:
> On Saturday 20 October 2007 22:41, Herbert Graeber wrote:
> > Am Freitag, 19. Oktober 2007 19:06:42 schrieb Rikard Johnels:
> > > Is there any way to remotely shut a standard windows box down from a
> > > linux system?
> >
> > net rpc shutdown -S serve-name -U Administrator
> >
> > > I have a few boxes i need to kick users from and shutdown (or reboot)
> > > every now and then. And its the only Windows boxes on the network. My
> > > system is a SuSE Linux, and i dont have win4lin, vmware or any other
> > > emulator running. I hope i can accomplish the task without having to
> > > install it too. any pointers/ideas.
> >
> > You need the samba-client package to do this.
> >
> > > [...]
> >
> > Cheers
> > Herbert
>
> I probably have something wrong:
>
> [EMAIL PROTECTED]:~> net rpc shell -S 192.168.1.167 -U Administrator
> Password:
> Could not connect to server 192.168.1.167
> The username or password was not correct.
> Connection failed: NT_STATUS_LOGON_FAILURE
> Could not open connection
>
> Linux or Windows the problematic point?

Mabey, if you want to use the ip number you have to use -I instead of -S.

Herbert

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to