The Samba client on OS X is what enables Apple computers to access folders shared on a Windows network. Documation uses ExtremeZ-IP from GroupLogic to manage connections to Windows servers. As a means to reduce confusion for Mac users over whch share to connect to we disable OS X's ability to connect to common Windows file shares by turning off the smb client (Samba).
You will need to use the command line to disable this service. Before you start:
sudocommand to gain elevated priviledges.
This method of turning off the smb client was found in Apple Documentation
Mac OS X Security Configuration For Mac OS X Version 10.6 Snow Leopard (near page 264.)
Keep in mind that the examples here may use path or name information specific to Documation, and to the setting in use at the time this document was created. (Oct. 2012)
sudo cp /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist /Users/tech/Documents/com.apple.smb.server.xml
sudo defaults delete /Library/Preferences/SystemConfiguration/com.apple.smb.server EnabledServices
sudo launchctl unload -w /System/Library/LaunchDaemons/nmbd.plist sudo launchctl unload -w /System/Library/LaunchDaemons/smbd.plist sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smb.server.preferences.plist sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smb.sharepoints.plist sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbfs_load_kext.plist sudo launchctl unload -w /System/Library/LaunchDaemons/org.samba.winbindd.plist
Re-enabling the service uses nearly the same commands.
sudo cp /Users/tech/Documents/com.apple.smb.server.xml /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server EnabledServices
sudo launchctl load -F /System/Library/LaunchDaemons/nmbd.plist sudo launchctl load -F /System/Library/LaunchDaemons/smbd.plist sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.smb.server.preferences.plist sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.smb.sharepoints.plist sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.smbfs_load_kext.plist sudo launchctl load -F /System/Library/LaunchDaemons/org.samba.winbindd.plist