Bug 4222 - Trouble remotely shutting down Linux server through Samba
Summary: Trouble remotely shutting down Linux server through Samba
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.23c
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-14 05:51 UTC by Tom
Modified: 2006-11-14 05:54 UTC (History)
1 user (show)

See Also:


Attachments
tcp sniff of shutdown transaction during command prompt shutdown that fails (5.26 KB, application/octet-stream)
2006-11-14 05:52 UTC, Tom
no flags Details
tcp sniff of shutdown transaction using the shutdown gui that succeeds (2.85 KB, application/octet-stream)
2006-11-14 05:53 UTC, Tom
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2006-11-14 05:51:26 UTC
I've been trying to shutdown my Samba server, through Samba. The Samba server runs Slackware Linux 10.1 on the 2.4.29 Linux kernel.

From a Windows XP machine in a command prompt, I issue the command:

shutdown -r -m \\<hostname> -t 60

and recieve the following error:

The remote procedure call failed.

If I try to issue the same command through the 'shutdown gui', shutdown -i, it works just fine however. Although no warning message is displayed on the Linux PC.

I've been unable to find anything of value in the logs, but have pasted the relevant log file below, and was asked to submit a bug report here. I've created two sniffs of the tcp traffic between the Windows machine and the Linux machine. One while sending the shutdown command from the command prompt and another while sending the command through the shutdown gui. I can't see where to attach these files to this bug report so if there's someplace I can send them, please let me know.

====================== LOG FILE =====================
root@nightwolf:/var/log/samba# cat subzero
[2006/11/14 06:49:54, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2006/11/14 06:49:54, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 32486 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/11/14 06:49:54, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/11/14 06:49:54, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2006/11/14 06:49:54, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 32486): internal error
[2006/11/14 06:49:54, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 17 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2e) [0x802166ce]
   #1 /usr/sbin/smbd(smb_panic+0x57) [0x802167e7]
   #2 /usr/sbin/smbd [0x80201f6f]
   #3 /lib/libc.so.6 [0x40248db8]
   #4 /usr/sbin/smbd [0x80103eba]
   #5 /usr/sbin/smbd(api_rpcTNP+0x280) [0x8015e710]
   #6 /usr/sbin/smbd(api_pipe_request+0xd0) [0x8015eba0]
   #7 /usr/sbin/smbd [0x8015a5cc]
   #8 /usr/sbin/smbd(write_to_pipe+0xf7) [0x80158df7]
   #9 /usr/sbin/smbd [0x8005c259]
   #10 /usr/sbin/smbd [0x8005c716]
   #11 /usr/sbin/smbd(reply_trans+0x673) [0x8005d083]
   #12 /usr/sbin/smbd [0x800b0b6e]
   #13 /usr/sbin/smbd(smbd_process+0x7cb) [0x800b213b]
   #14 /usr/sbin/smbd(main+0x100a) [0x802ad2fa]
   #15 /lib/libc.so.6(__libc_start_main+0xb9) [0x40235469]
   #16 /usr/sbin/smbd [0x8003ffe1]
=================== END LOG FILE ===========================

Thanks,
 Tom
Comment 1 Tom 2006-11-14 05:52:54 UTC
Created attachment 2217 [details]
tcp sniff of shutdown transaction during command prompt shutdown that fails
Comment 2 Tom 2006-11-14 05:53:57 UTC
Created attachment 2218 [details]
tcp sniff of shutdown transaction using the shutdown gui that succeeds