[Samba] net rpc shutdown does not work

Florian Effenberger floeff at arcor.de
Tue Sep 13 17:16:04 GMT 2005


Hello everyone,

using Samba 3.0.20, the net rcp shutdown command does not work. I use

/usr/local/samba/bin/net rpc shutdown --server=MYCLIENT
--user=DOMAIN_ADMIN_USER

and the result I get back is

[2005/09/09 18:00:15, 0, effective(0, 0), real(0, 0)]
utils/net_rpc.c:rpc_init_shutdown_internals(4485)
  Shutdown of remote machine failed!
[2005/09/09 18:00:15, 0, effective(0, 0), real(0, 0)]
utils/net_rpc.c:rpc_reg_shutdown_internals(4555)
  Shutdown of remote machine failed!

Using the old 3.0.14a rpcclient with the command

rpcclient MYCLIENT -c "shutdowninit -t 15" -U DOMAIN_ADMIN_USER

just works fine. I also tried granting my admin user the shutdown
privilege, but
it does not help either.

If you need any debug logs, let me know. Client systems are XP Pro SP2.

Filed as Bug 3080.

Thanks
Florian


More information about the samba mailing list