The Samba-Bugzilla – Bug 5997
"net rpc shutdown" doesn't work anymore since 3.2.0
Last modified: 2008-12-27 00:23:17 UTC
From our Debian users....I can also reproduce that bug.
The "net rpc shutdown" command, which makes easy to reboot several machines through scripts, does not longer work since 3.2.0.
I'll attach level 10 logs of two attempts:
One that fails from a machine running samba 3.2.5
One that succeeds from a machine running samba 3.0.24
Output when the command fails:
bubulle@mykerinos:~/tmp> net rpc shutdown -r -S khephren -U MAISON\\bubulle
Enter MAISON\bubulle's password:
Shutdown of remote machine failed
result was: WERR_OK
Created attachment 3830 [details]
Level 10 debug log of a succeeded session with samba 3.0.24
Created attachment 3831 [details]
Level 10 debug log of a failed session with samba 3.2.5
Thanks to one of our users, we found this is fixed in 3.2.6 (which we don't have in Debian) and 3.3.0
And I finally found this is a duplicate of #5898.
*** This bug has been marked as a duplicate of 5898 ***