Just a note on rpc shutdown command, but the --comment/-c argument does not
work, given the following example:
/server/samba/bin/net rpc -n ADMINPC --server=WMPCSE -U Administrator -t 90
shutdown
(Works, asks first for password, then sends shutdown which DOES shutdown
machine 'WMPCSE' with 90 second timeout)
/server/samba/bin/net rpc -n ADMINPC --server=WMPCSE -U Administrator -t
90 --comment="Simple string comment" shutdown
(DOES NOT WORK, Returns as below)
[2005/07/25 10:23:45, 0] utils/net_rpc.c:rpc_shutdown_internals(4113)
Shutdown of remote machine failed!
No matter the machine, the timeout, nor the username/source machine name
used, as soon as I attempt to send net rpc shutdown with a comment, the
comment is not displayed and the command does not work.
--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Gerald (Jerry) Carter
Sent: Monday, July 25, 2005 10:08 AM
To: Michael Burns
Cc: samba
Subject: Re: [Samba] Remote shutdown+poweroff of W2K server
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Burns wrote:
| I would like to know if and how it is possible to
| get the Win2K server to power off on shutdown with
| the Samba client utlities.
It's probably just a flag we are missing in the
'net rpc shutdown'request. Do you have a windows tool
that will do the rmeote shutdown and power off correctly ? Could you send me
an ethereal trace of that ? Or tell me which tool to use in testing.
jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC5PI4IR7qMdg1EfYRAmBIAKCJK7j80FK4wAl7bcdrfa/w/YMPUgCgt6xK
6uQwzIhVp+Hpd8O5QoU8Na0=
=HTrt
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba