[Samba] Remote shutdown+poweroff of W2K server (new issue:
--comment arg not work)
Gerald (Jerry) Carter
jerry at samba.org
Mon Jul 25 14:37:15 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nathan Vidican wrote:
| 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.
ok. Thanks for the information. I might have goofed the
parsing code during while updating some registry functionality.
cheer,s jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC5PkbIR7qMdg1EfYRAu/CAJ9JPQC0//1AfWoXkTh+aA00X3oYUgCg86pT
HWVGKR6wSN1BWzcw++bZQ/Q=
=agYp
-----END PGP SIGNATURE-----
More information about the samba
mailing list