Enable Logging with 10.7 SMBX (Windows File Sharing)

| No Comments | No TrackBacks

Apple replaced Samba with SMBX, their home-cooked application for Windows File Sharing. By default, it doesn't do much logging. If you want to review logs, you'll have to edit the launchd item. Add the two extra ProgramArgument keys in bold below.

beteblanche:~ noahabrahamson$ sudo vi /System/Library/LaunchDaemons/com.apple.smbd.plist

...

    <key>ProgramArguments</key>
    <array>
            <string>/usr/sbin/smbd</string>
            <string>-debug</string>
            <string>-stdout</string>
    </array>

Now you can use syslog -w to review your logs in Terminal in real time.

No TrackBacks

TrackBack URL: http://www.stanford.edu/group/macosxsig/cgi-bin/mt/mt-tb.cgi/109

Leave a comment

About this Entry

This page contains a single entry by Noah Abrahamson published on August 1, 2011 4:13 PM.

syntax differences between autofs and mount_smbfs was the previous entry in this blog.

Find recent content on the main index or look in the archives to find all content.