Jeremy Allison wrote: > On Sat, Sep 16, 2006 at 02:25:47PM -0700, Nolan Garrett wrote: >> Hello! >> >> It seems my struggle with Samba isn't quite over. My latest problem is >> exactly what you see above, followed by an attempt to core dump. This >> occurs upon authentication to the system. My system is part of a W2K3 >> domain. I looked at the Samba HOWTO, but apparently I have a system >> (FC5), that doesn't allow core dumps when the PID changes, since no core >> dumps are being created. Also, smbstatus doesn't give me a PID, so I am >> having a hard time running gdb to further understand this issue. Here >> is the log output: >> snip >> >> I'm running: >> samba-3.0.23c-4 >> samba-client-3.0.23c-4 >> samba-common-3.0.23c-4 >> >> Any ideas on this? > > For a core dump, add the lines : > > panic action = /bin/sleep 999999 > > to the [global] section of your smb.conf, and > reproduce the problem. The smbd will hang waiting > for the sleep to finish, allowing you to attach > to the waiting smbd process with gdb. You can then > print out a backtrace with symbols which is a much > more helpful review of the problem. > > Thanks, > > Jeremy. >
I appreciate the response! I am not 100% familiar with gdb, but I did what I could to get some more information. Here are the results of the "backtrace" command in gdb: #0 0x00203402 in __kernel_vsyscall () #1 0x0049a4a3 in __waitpid_nocancel () from /lib/libc.so.6 #2 0x0044293f in do_system () from /lib/libc.so.6 #3 0x0060203d in system () from /lib/libpthread.so.0 #4 0x00af7b7d in smb_panic () from /usr/sbin/smbd #5 0x00ae349a in dump_core_setup () from /usr/sbin/smbd #6 <signal handler called> #7 0x00b3fd54 in create_token_from_username () from /usr/sbin/smbd #8 0x00b40d61 in create_local_token () from /usr/sbin/smbd #9 0x00b42b55 in auth_ntlmssp_start () from /usr/sbin/smbd #10 0x009ce5b8 in ntlmssp_set_username () from /usr/sbin/smbd #11 0x009ccaa2 in ntlmssp_update () from /usr/sbin/smbd #12 0x00b427eb in auth_ntlmssp_update () from /usr/sbin/smbd #13 0x0095d4a9 in reply_sesssetup_and_X () from /usr/sbin/smbd #14 0x0098b0d0 in open_was_deferred () from /usr/sbin/smbd #15 0x0098c20b in smbd_process () from /usr/sbin/smbd #16 0x00ba6110 in main () from /usr/sbin/smbd "backtrace full" gives me: #0 0x00203402 in __kernel_vsyscall () No symbol table info available. #1 0x0049a4a3 in __waitpid_nocancel () from /lib/libc.so.6 No symbol table info available. #2 0x0044293f in do_system () from /lib/libc.so.6 No symbol table info available. #3 0x0060203d in system () from /lib/libpthread.so.0 No symbol table info available. #4 0x00af7b7d in smb_panic () from /usr/sbin/smbd No symbol table info available. #5 0x00ae349a in dump_core_setup () from /usr/sbin/smbd No symbol table info available. #6 <signal handler called> No symbol table info available. #7 0x00b3fd54 in create_token_from_username () from /usr/sbin/smbd No symbol table info available. #8 0x00b40d61 in create_local_token () from /usr/sbin/smbd No symbol table info available. #9 0x00b42b55 in auth_ntlmssp_start () from /usr/sbin/smbd No symbol table info available. #10 0x009ce5b8 in ntlmssp_set_username () from /usr/sbin/smbd No symbol table info available. #11 0x009ccaa2 in ntlmssp_update () from /usr/sbin/smbd No symbol table info available. #12 0x00b427eb in auth_ntlmssp_update () from /usr/sbin/smbd No symbol table info available. #13 0x0095d4a9 in reply_sesssetup_and_X () from /usr/sbin/smbd No symbol table info available. #14 0x0098b0d0 in open_was_deferred () from /usr/sbin/smbd No symbol table info available. #15 0x0098c20b in smbd_process () from /usr/sbin/smbd No symbol table info available. #16 0x00ba6110 in main () from /usr/sbin/smbd No symbol table info available. Clearly I don't have a package that was compiled with symbols. Is it easy to rebuild the FC5 rpms from samba.org with debug symbols? Thanks! Nolan
signature.asc
Description: OpenPGP digital signature
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
