Add port 139 as default for shared smb connections in Snow Leopard?

Posted on 2010-09-01
Last Modified: 2013-11-08

I have a windows server 2008 with some shares. My clients are snow leopard. When connecting the authentication is very slow (+- 20 seconds). I discovered in this thread that adding the default smb port number 139 solves this issue.


However, the default shared list in Finder does not have a port number added (smb://server). So connecting in a Finder window is still slow. The only way for me connecting fast is to go to the Finder menu > Go > Connect with server, and add the port number 139 (smb://server:139).

Is there a way that Snow Leopard adds automatically port 139 to the smb shares he finds? Thanks in advance
Question by:Johan85
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 20

Accepted Solution

woolnoir earned 333 total points
ID: 33576704
Have you tried adding dns_fallback = no to /Library/Preferences/ as shown below ?

default_realm = foo.local
dns_fallback = no

Its apparently due to OSX waiting for DNS queries it never receives.... might be worth a try on a test machine. You also might not have any config in this file, if not just add the items to the file.

Author Comment

ID: 33577148
Yes, I tried that, it has no improvement.
LVL 20

Assisted Solution

woolnoir earned 333 total points
ID: 33577890
Well in answer to your question about, that i know of, there is no way to force port 139 for SMB shares, this has been noted to help some users who are experiencing the problem

sudo sysctl -w net.inet.tcp.delayed_ack=0

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.


Author Comment

ID: 33609395
Also tried that one. Not a solution.
LVL 20

Expert Comment

ID: 33609423
In that case until apple release a solution I think you're stuck. We've tried the available workarounds with no effect.
LVL 20

Expert Comment

ID: 33609424
In that case until apple release a solution I think you're stuck. We've tried the available workarounds with no effect.

Assisted Solution

alexrs earned 167 total points
ID: 33622146

I know it's obvious but you should try the latest fixes, although many users report that the SMB slow Login problem has not been fixed yet Release notes of Snow Leopard updates 10.6.3 and 10.6.4 report fixes related to SMB.

10.6.3 <> :
File Services fixes provided for:
- an issue that could prevent saving files from Microsoft Office 2008 to an SMB server volume.
- issues copying, renaming or deleting files on an SMB server volume.
- clear-text authentication to an SMB file server.

10.6.4 <>
General Fixes and Improvements
addresses issues copying, renaming, or deleting files on SMB file servers

I have found this site very useful website for Mac-Win integration:

Good luck

Author Closing Comment

ID: 33660156
Was not a solution.

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Firefox crashing on Mac 3 270
Auto CC in outlook for mac 2011 3 81
MacBook Upgrade OS 6 27
HP 8210 Printer drops offline 8 66
Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question