smbdiagnose
—
gather information to aid in diagnosing SMB file sharing
issues
smbdiagnose |
[-f path]
[-s ] |
The smbdiagnose
tool gathers system
information and network traffic in order to assist Apple when investigating
issues related to SMB file sharing. A great deal of information is
harvested, spanning system state, system configuration, and network traffic
related to SMB file sharing.
- A network packet trace of SMB file sharing traffic that occurs during the
time the tool is run. This packet trace may include file names and file
data. It may also include the authentication exchange used to log into the
SMB server.
- Enhanced debug logs for the SMB server process.
- If the
-s
option is specified, the default set of
information collected by
sysdiagnose(1).
- No authentication credentials are harvested from the system
-h
- Print full usage.
-f
path
- Write the diagnostic to the specified path. The default is
“~/Desktop”.
-s
- Collect sysdiagnose(1)
information. The default is not to collect
sysdiagnose(1) information.
smbdiagnose
exits with status 0 if there
were no internal errors encountered during the diagnostic, or >0 when an
error unrelated to external state occurs or unusable input is provided by
the user.