Apple oxs Server User Manual


 
Chapter 8 Working With File Services 87
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
LL2354.book Page 87 Monday, October 20, 2003 9:47 AM