Windows File Sharing Disabled But Still Running

Interesting. I just sat behind the iMac with the 100GB Samba log file. In the Sharing preferences panel I have ‘File Sharing’ turned on. But when I click on Options the ‘Share files and folders using SMB’ checkbox is UNCHECKED.

How can Windows File Sharing be turned off in the GUI while I still the the SMB daemons (nmbd, smbd) running???

Turning File Sharing off and on made the SMB daemons go away.

This stuff is flakey. To say the least.


3 comments so far

  1. Eugene on

    Any word on this issue? I have the same problem where File Sharing is disabled, but nmbd keeps running and constantly connects to Windows hosts.

    I can turn it off temporarily with the “sudo launchctl unload -w /System/Library/LaunchDaemons/nmbd.plist” command. But it looks like it comes back after I bring up a new Finder window.

  2. jce on

    i have been playing with the firewall on my mac lately.
    Just ran noobproof so that i could turn off the sketchy application level firewall.

    I was looking in launchctl to see what was running and discovered that smbd and nmbd were running even though i did not have windows sharing turned on!
    i added disabled->true to the plist for those LaunchDaemons, since i have no windows machines i want to share with…. but sketchy…

    on second thought i sometime run vmware fusion. i wonder what will happen to that…

  3. jce on


    try :
    launchctl remove org.samba.nmbd

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: