34.5 Attaching to a Running Process

Unfortunately, some UNIXes (in particular some recent Linux kernels ) refuse to dump a core file if the task has changed uid (which smbd does often). To debug with this sort of system, you could try to attach to the running process using gdb smbd PID where you get PID from smbstatus . Then use c to continue and try to cause the core dump using the client. The debugger should catch the fault and tell you where it occurred.

Official Samba-3 HOWTO and Reference Guide
The Official Samba-3 HOWTO and Reference Guide, 2nd Edition
ISBN: 0131882228
EAN: 2147483647
Year: 2005
Pages: 297

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net