
Viewing SMB Service Logs
You can use tail or any other file listing tool to view the contents of the SMB service logs.
To view the latest entries in a log:
$ tail
You can use the serveradmin getLogPaths command to see where the current SMB logs are located.
To display the log paths:
$ sudo serveradmin command smb:command = getLogPaths
Output
smb:fileServiceLog =
Value | Description |
| The location of the SMB service log. Default = |
| /var/log/samba/log.smbd |
|
|
| The location of the name service log. Default = |
| /var/log/samba/log.nmbd |
|
|
Chapter 8 Working With File Services
87