We have a Samba 3.0.2a server (Red Hat 9) on which the only accessible service is a public printer, which interfaces with CUPS on the same machine. CUPS is using the RPM from Fedora Core 1, as the RH9 one had problems. Today I applied the 3.0.3 update, using the RPM on the Samba site. Almost straight away, users complained that they couldn't print. The logs showed the same error repeated (/var/log/messages): Apr 30 10:30:47 murray smbd[20229]: [2004/04/30 10:30:47, 0] lib/fault.c:fault_report(36) Apr 30 10:30:47 murray smbd[20229]: =============================================================== Apr 30 10:30:47 murray smbd[20229]: [2004/04/30 10:30:47, 0] lib/fault.c:fault_report(37) Apr 30 10:30:47 murray smbd[20229]: INTERNAL ERROR: Signal 11 in pid 20229 (3.0.3) Apr 30 10:30:47 murray smbd[20229]: Please read the appendix Bugs of the Samba HOWTO collection Apr 30 10:30:47 murray smbd[20229]: [2004/04/30 10:30:47, 0] lib/fault.c:fault_report(39) Apr 30 10:30:47 murray smbd[20229]: =============================================================== Apr 30 10:30:47 murray smbd[20229]: [2004/04/30 10:30:47, 0] lib/util.c:smb_panic2(1398) Apr 30 10:30:47 murray smbd[20229]: PANIC: internal error Apr 30 10:30:47 murray smbd[20229]: [2004/04/30 10:30:47, 0] lib/util.c:smb_panic2(1406) Apr 30 10:30:47 murray smbd[20229]: BACKTRACE: 18 stack frames: Apr 30 10:30:48 murray smbd[20229]: #0 smbd(smb_panic2+0x128) [0x81cdb88] Apr 30 10:30:48 murray smbd[20229]: #1 smbd(smb_panic+0x19) [0x81cda59] Apr 30 10:30:49 murray smbd[20229]: #2 smbd [0x81bbbd2] Apr 30 10:30:49 murray smbd[20229]: #3 /lib/tls/libc.so.6 [0x420277b8] Apr 30 10:30:49 murray smbd[20229]: #4 smbd(authorise_login+0x24) [0x8087e14] Apr 30 10:30:49 murray smbd[20229]: #5 smbd [0x80cf498] Apr 30 10:30:49 murray smbd[20229]: #6 smbd(make_connection+0xf4) [0x80cf934] Apr 30 10:30:49 murray smbd[20229]: #7 smbd(reply_tcon_and_X+0x1af) [0x809d08f] Apr 30 10:30:49 murray smbd[20229]: #8 smbd [0x80cc81c] Apr 30 10:30:49 murray smbd[20229]: #9 smbd(chain_reply+0x178) [0x80cd0a8] Apr 30 10:30:49 murray smbd[20229]: #10 smbd(reply_sesssetup_and_X+0x4f2) [0x80ab2c2] Apr 30 10:30:49 murray smbd[20229]: #11 smbd [0x80cc81c] Apr 30 10:30:49 murray smbd[20229]: #12 smbd [0x80cc9e9] Apr 30 10:30:49 murray smbd[20229]: #13 smbd(process_smb+0x8f) [0x80ccbff] Apr 30 10:30:49 murray smbd[20229]: #14 smbd(smbd_process+0x167) [0x80cd847] Apr 30 10:30:49 murray smbd[20229]: #15 smbd(main+0x4d9) [0x823c449] Apr 30 10:30:49 murray smbd[20229]: #16 /lib/tls/libc.so.6 (__libc_start_main+0xe4) [0x42015704] Apr 30 10:30:49 murray smbd[20229]: #17 smbd(ldap_msgfree+0x8d) [0x8077ae1] Apr 30 10:30:49 murray smbd[20229]: I've downgraded to 3.0.2a, which continues to work without any problems!
P.S. I looked for the Bug Appendix, but I must be going nuts, because I couldn't find it.
Same problem in here on Debian 3.0, two systems have the same problem. 3.0.2a went fine, 3.0.3 only prints: [2004/04/30 17:40:14, 0] smbd/server.c:main(757) smbd version 3.0.3 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/04/30 17:40:20, 0] lib/fault.c:fault_report(36) =============================================================== [2004/04/30 17:40:20, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 1224 (3.0.3) Please read the appendix Bugs of the Samba HOWTO collection [2004/04/30 17:40:20, 0] lib/fault.c:fault_report(39) =============================================================== [2004/04/30 17:40:20, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/04/30 17:40:20, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 19 stack frames: #0 /usr/local/samba/sbin/smbd(smb_panic2+0x19d) [0x818a451] #1 /usr/local/samba/sbin/smbd(smb_panic+0x13) [0x818a2af] #2 /usr/local/samba/sbin/smbd [0x817a17b] #3 /usr/local/samba/sbin/smbd [0x817a1e5] #4 /lib/libc.so.6 [0x4009d6b8] #5 /usr/local/samba/sbin/smbd(authorise_login+0x25) [0x8083f95] #6 /usr/local/samba/sbin/smbd [0x80c11db] #7 /usr/local/samba/sbin/smbd(make_connection+0x5af) [0x80c27ff] #8 /usr/local/samba/sbin/smbd(reply_tcon_and_X+0x241) [0x80967d5] #9 /usr/local/samba/sbin/smbd [0x80bf7d8] #10 /usr/local/samba/sbin/smbd(chain_reply+0x151) [0x80bfe45] #11 /usr/local/samba/sbin/smbd(reply_sesssetup_and_X+0xd3d) [0x80a2569] #12 /usr/local/samba/sbin/smbd [0x80bf7d8] #13 /usr/local/samba/sbin/smbd [0x80bf86e] #14 /usr/local/samba/sbin/smbd(process_smb+0x1be) [0x80bfb5e] #15 /usr/local/samba/sbin/smbd(smbd_process+0x14f) [0x80c058f] #16 /usr/local/samba/sbin/smbd(main+0x753) [0x81dc12f] #17 /lib/libc.so.6(__libc_start_main+0xbb) [0x4008d14f] #18 /usr/local/samba/sbin/smbd(yp_get_default_domain+0x61) [0x8074cb1] [2004/04/30 17:40:20, 0] lib/fault.c:fault_report(36) =============================================================== [2004/04/30 17:40:20, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 1225 (3.0.3) Please read the appendix Bugs of the Samba HOWTO collection [2004/04/30 17:40:20, 0] lib/fault.c:fault_report(39) =============================================================== [2004/04/30 17:40:20, 0] lib/util.c:smb_panic2(1398) PANIC: internal error [2004/04/30 17:40:20, 0] lib/util.c:smb_panic2(1406) BACKTRACE: 19 stack frames: #0 /usr/local/samba/sbin/smbd(smb_panic2+0x19d) [0x818a451] #1 /usr/local/samba/sbin/smbd(smb_panic+0x13) [0x818a2af] #2 /usr/local/samba/sbin/smbd [0x817a17b] #3 /usr/local/samba/sbin/smbd [0x817a1e5] #4 /lib/libc.so.6 [0x4009d6b8] #5 /usr/local/samba/sbin/smbd(authorise_login+0x25) [0x8083f95] #6 /usr/local/samba/sbin/smbd [0x80c11db] #7 /usr/local/samba/sbin/smbd(make_connection+0x5af) [0x80c27ff] #8 /usr/local/samba/sbin/smbd(reply_tcon_and_X+0x241) [0x80967d5] #9 /usr/local/samba/sbin/smbd [0x80bf7d8] #10 /usr/local/samba/sbin/smbd(chain_reply+0x151) [0x80bfe45] #11 /usr/local/samba/sbin/smbd(reply_sesssetup_and_X+0xd3d) [0x80a2569] #12 /usr/local/samba/sbin/smbd [0x80bf7d8] #13 /usr/local/samba/sbin/smbd [0x80bf86e] #14 /usr/local/samba/sbin/smbd(process_smb+0x1be) [0x80bfb5e] #15 /usr/local/samba/sbin/smbd(smbd_process+0x14f) [0x80c058f] #16 /usr/local/samba/sbin/smbd(main+0x753) [0x81dc12f] #17 /lib/libc.so.6(__libc_start_main+0xbb) [0x4008d14f] #18 /usr/local/samba/sbin/smbd(yp_get_default_domain+0x61) [0x8074cb1] Compile settings were ./configure --with-pam --with-pam_smbpass --with-quotas --with-sys-quotas
I consider it: Priority 1 Severity Critical
could one you of provide a level 10 debug log of the crash? You can either add it as an attachment to the bug report or mail it to me directly. Thanks.
Created attachment 486 [details] log.smbd
Created attachment 487 [details] log.nmbd
Attached ;-)
Created attachment 489 [details] fix missing check for NULL pointer before copy This fixes the seg fault on my test system.
fix checked into SVN
Now with the following smb.conf: === [global] workgroup = MYWORKGROUP server string = interfaces = eth1 security = SHARE guest account = samba os level = 255 preferred master = Yes [pool] path = /home/samba/pool read only = No guest ok = Yes === Windows XP always asks for a password when accessing \\server ;-(
Addition: /usr/local/samba/bin/smbclient -L //server with no password works fine, as /usr/local/samba/bin/smbclient //server/pool does. Within Windows XP Professional SP1, I can access \\server\pool without username and password, but \\server requires one. If I open first \\server\pool and afterwards connect to \\server no password is required. Confirmed with Windows 2000 Professional SP4 (both OS identify as guest users to the Samba share). Seems to be a bug in the patch?
Created attachment 494 [details] additional patch to fix security = share
Here's part #2 of the patch to fixe security = share. Works correctly with my tests using smbclient.
Works fine! Patch should be contributed into CVS now ;)
already done. Will be in 3.0.4 soming up tomorrow.
Thanks a lot for your quick bugfixing, I really appreciate and respect that! ;)
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup