Skip navigation

Snow Leopard 10.6.4 not showing Windows 7 Machines on Finder's Shared

11399 Views 20 Replies Latest reply: Dec 25, 2012 7:56 AM by charlesf49 RSS
1 2 Previous Next
morph21 Level 1 Level 1 (10 points)
Currently Being Moderated
Nov 2, 2010 7:07 PM

After a long, LONG, LOOOOOOONG time searching for an answer and trying different settings all over making a Mac OS the Master Browser finally solved the problem for me.

This is not about sharing, this is not about any of the other thousand issues that working with Windows' Samba might have.

Anyway, to put it simple, you need to edit /etc/smb.conf file as root. For that, open a Terminal and type:
+sudo nano /etc/smb.conf+

keep going down until you reach this part, then add the text in bold as shown:
+; Pull in system-wide preference settings. These are managed+
+; by smb-sync-preferences.+
+include = /var/db/smb.conf+

+; Pull in system share configuration. These are managed+
+; by smb-sync-shares.+
+include = /var/db/samba/smb.shares+

*+; Forcing Master Browser+*
*+os level = 65+*
*+preferred master = yes+*
*+local master = yes+*

+comment = All Printers+

Close the file with Control + X and then Yes for saving.

Now just go to System Preferences, Sharing and turn ON File Sharing, click in Options and turn "Share files and folders using SMB (Windows)" to ON. If it was ON already, just turn it OFF and then back ON to restart the service (nmbd).

In a few seconds, or minutes depending on the network, your Mac should become the local browser and then the PCs will appear in your Finder.

You can check if your Mac is the Master Browser by typing this in a Terminal:
+nmblookup -M -- -+

The Master Browser IP that will appear there should be your Mac's.

Message was edited by: morph21, fixing format issue
iMac 27" i7 4x2.8GHz 8GB, Mac OS X (10.6.4)
  • LCee Level 1 Level 1 (65 points)
    Bless you!!!!! It's been a long time for me too.

    This works! I had to wait several minutes but now it's working like it should.

    Thank you so very much.
    Macbook Pro (Late 2008), Mac OS X (10.6.4), 4GB Core2Duo 2.4 /w SSD
  • falvesjr Calculating status...
    Thanks! Worked for me too, though I did have to manually restart the nmbd service. Also, can you do this to multiple Macs in the same network?
    iMac, Mac OS X (10.6.4)
  • falvesjr Level 1 Level 1 (0 points)
    No, not a huge network, just at home with three Macs and a couple of PCs that are used regularly. I was just wondering if it's OK to have multiple Macs as masters just in case the "main" master Mac is off, then all would still be well for the other Macs.

    Thanks for the info! I just wish someone had an easy fix like this for the problems with smb file sharing on the Mac!
    iMac, Mac OS X (10.6.4)
  • Kurtster Calculating status...
    Anyone know how to do this in Leopard? Those lines don't appear in that OS but it has the same problem seeing my Windows machine.
    Dual G5, Mac OS X (10.5.8)
  • gsexsmith Level 1 Level 1 (10 points)
    It is still there. When in the editor you need to scroll down with the arrow keys to see more lines. Then you can add the lines above and you will start to see your network devices. Mine took awhile so be patient. 8))
    Hope this helps.
    MacBook Pro, Mac OS X (10.6.5), iPhone 3GS iOS 4.x
  • iMau Calculating status...
    OMG ! after 1,5 year of searching this is THE answer i've looked for THX
    iMac I7, Mac OS X (10.6.6)
  • RodneyW Level 4 Level 4 (3,030 points)
    G'day morph21,

    Thanks for sharing this workaround. Windows 7 uses an updated protocol for network browsing, which OS X does not support. However, Windows 7 does support the older approach (used by Windows XP and prior) when it is not the master.

    It should be remembered that, IF you use your Mac on a corporate network (i.e. running Active Directory), it is NOT a good idea to force it to become the master browser over and above the primary servers on the network. Your IT Admin people will not be happy!



    p.s. an alternative way of getting Windows 7 machines to appear on your home network is simply to boot your Mac first. It then becomes the local master by default. When Windows 7 starts it will simply tap into your Mac's list for it's own browsing.
    MacBook Pro (2.53 GHz, 4GB, 13i), Mac OS X (10.6.6), MacBook (2.16 Ghz, 2 GB), Powerbook G4 12i (867 MHz, 640MB, 10.5.8)
  • streamworksaudio Level 1 Level 1 (10 points)
    I tried this... for testing...I disabled the Computer Browsing service on 2 Vista Machines and 1 Windows 7 Machine. I forced smb.conf to become the master.

    I booted all PCs and confirmed using nbtstat that all PCs were not the Master - I then booted up my Mac Book and it too will not become the master... so there is no master in my network if I were to leave it this way.

     13" MacBook 2Ghz, Mac OS X (10.6.2),  Apple TV  iPod Touch 8Gb  iPhone 3GS (16GB)  Mac Plus (in the closet)
  • streamworksaudio Level 1 Level 1 (10 points)
    I stand corrected.... after letting everything sit for a few minutes the MacBook finally took over as the Master and all PCs can be seen from the Finder's Sidebar... just weird that it would take so long to take over.
     13" MacBook 2Ghz, Mac OS X (10.6.2),  Apple TV  iPod Touch 8Gb  iPhone 3GS (16GB)  Mac Plus (in the closet)
  • vikinggeek Calculating status...

    Can you provide a little more technical details? I'm trying to support OS X in a corporate network and would be very unhappy if the users forced a desktop machine to be the master browser. NOTE to others: If you make the suggested changes on your system and bring the machine to work, the network AND your machine may become very slow!

    We are using WINS on Windows 2008 servers, but it appears that 10.6 doesn't take advantage of this. I'm seeing strange entries in the log.nmbd file that the Macs cannot connect to the discovery port (138)

    -- Per
    MacBook Pro, Mac OS X (10.6.6)
  • RodneyW Level 4 Level 4 (3,030 points)
    No worries Per,

    OS X uses "old" protocols for MS Networks, that are compatible with WIn XP/2003 and prior, but not fully compatible with Windows Vista/7/2008 and later.

    The upshot of this is that OS X works (close to) perfectly on a network with a Windows XP master browser or a Windows 2003 Domain Controller.

    On a network with a Windows Vista/7 Master Browser or Windows 2008 Domain Controller, it fails to be able to populate the network list. This means that the user is forced to manually identify and connect to servers.

    On a private network, where I am in full control of the machines, I can force OS X to win the Master Browser election by starting it first. The Windows Vista/7 machines then start up but do not force a re-election, because there is a Master Browser in place.

    On a corporate network running Windows 2008 Domain Controller - the OS X user is at a real disadvantage.

    As far as I know all of this arises because Apple is on an old version of Samba - because the Samba changed their licensing requirements some time ago. With a bit of luck Apple will do something about this in Lion.


    MacBook Pro (2.53 GHz, 4GB, 13i), Mac OS X (10.6.6), MacBook (2.16 Ghz, 2 GB), Powerbook G4 12i (867 MHz, 640MB, 10.5.8)
  • vikinggeek Level 1 Level 1 (0 points)

    Thank you for clearing things up. This problem has caused lots of headaches since the Windows users can "see" the Mac users but not the other way around. When you say "old" and "new" do you refer to "Smb" and "Smb2" or is it something else? Any pointers to technical documentation (from Apple) would be appreciated.

    -- Per
    MacBook Pro, Mac OS X (10.6.6)
1 2 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (1)

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.