Solved

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

Posted on 2010-09-01
8
2,192 Views
Last Modified: 2013-11-08
Hi,

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.

smb://server:139

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
0
Comment
Question by:Johan85
[X]
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
8 Comments
 
LVL 20

Accepted Solution

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

[libdefaults]
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.
0
 
LVL 1

Author Comment

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

Assisted Solution

by:woolnoir
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

0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 1

Author Comment

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

Expert Comment

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

Expert Comment

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

Assisted Solution

by:alexrs
alexrs earned 167 total points
ID: 33622146
Johan,

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 <http://support.apple.com/kb/HT4014> :
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 <http://support.apple.com/kb/ht4150>
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: http://www.macwindows.com/

Good luck
0
 
LVL 1

Author Closing Comment

by:Johan85
ID: 33660156
Was not a solution.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

With the major release of Apple's 7th addition to the Mac OS X family, Mac OS X 10.6 Snow Leopard, there are a lot of enhancements which have arrived with this new OS X upgrade. With the number of enhancements and refinements I can provide deta…
In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
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 …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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