When diagnosing a problem, Samba developers are likely to request a packet capture (or trace).
The best way to do this depends on the tools available on your system. If you are using a GUI-based system, you will need to run a capture tool from the command-line.
In the table below, replace FILENAME with the descriptive file name.
tshark -p -w FILENAME port 445 or port 139
tethereal -p -w FILENAME port 445 or port 139
tcpdump -p -s 512 -w FILENAME port 445 or port 139