Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: View Linux SMB servers in Path Finder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: View Linux SMB servers in Path Finder
Authored by: blinkintosser on Sep 26, '11 09:13:52PM
You can probably announce the Linux SMB services from the Mac itself using OS X’s built-in “dns-sd” to advertise it. Under Snow Leopard, which I still use, I have a few slapped-together LaunchAgents to announce the availability of remote Windows SMB servers that are on the far side of routers — VPNs mostly — where broadcasts can’t cross, causing them to show up in the garbage bar on the left side of (at least regular, if not also Path-) Finder windows like local servers would. Here is one that I have modified slightly to redact private info:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Disabled</key>
      <false/>
    <key>Label</key>
      <string>org.mydomain.ssh.smb_server.domain_announce</string>
    <key>KeepAlive</key>
      <true/>
    <key>ProgramArguments</key>
      <array>
        <string>/usr/bin/dns-sd</string>
        <string>-P</string>
        <string>server.domain</string>
        <string>_smb._tcp.</string>
        <string>.</string>
        <string>445</string>
        <string>192.168.249.65</string>
        <string>0.0.0.0</string>
      </array>
  </dict>
</plist>
SMB servers announced this way show a Mac icon instead of the blue-screen CRT, but it all works the same.

[ Reply to This | # ]