August 2011 Archives

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.

About this Archive

This page is an archive of entries from August 2011 listed from newest to oldest.

March 2011 is the previous archive.

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