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 log-file

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 = <smb-log> smb:nameServiceLog = <name-log>

Value

Description

<smb-log>

The location of the SMB service log. Default =

 

/var/log/samba/log.smbd

 

 

<name-log>

The location of the name service log. Default =

 

/var/log/samba/log.nmbd

 

 

Chapter 8 Working With File Services

87

Page 87
Image 87
Apple oxs manual Viewing SMB Service Logs, Smb-log, Var/log/samba/log.smbd, Name-log, Var/log/samba/log.nmbd