APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds RSS Feeds











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version


Slow Finder when browsing SMB Network Shares in Snow Leopard

Bruce Garlock

I have been trying to track down why the Mac OS X finder in Snow Leopard, when bound to Active Directory can be painfully slow at just listing files on a SMB share. The symptoms that occur are simply browsing through a SMB share in the Finder, and files will list, you go to another folder, they list, and then you go to another folder and suddenly it looks empty. But it's not. It's just the Finder being incredibly slow at listing the files. There doesn't even have to be many files in there, just a few. I can reproduce this everytime on a fresh install of OS X 10.6.x, and after binding the machine to an Active Directory server (in my case a Windows 2008 R2 server)

Using Googlepedia, you will turn up all sorts of information on this, which is anecdotal at best. I had tried so many things, but have come up with a fairly good solution for *us* (Note that 'us' part, I'm not saying this will help in all situations). Basically, I have concatenated several suggested settings from the following website, and made some changes, mostly to the /etc/nsmb.conf file. (Don't ask when 10.7 Lion comes out, because due to license issues, I hear SMB support is gone!) Here is the website where most of my information came from:

http://www.macwindows.com/snowleopard-filesharing.html#012610b

You will find that page very lengthy, with lots of people trialling different things, with some things working, some helping, and some not helping at all. I have been messing with this for well over a year now, and have finally come up with something that seems to mitigate this issue. So, here is my new /etc/nsmb.conf file:


BGarlockMacPro:~ bruceg$ cat /etc/nsmb.conf
[default]
streams=no
domain=CORP
minauth=none
soft=yes
notify_off=yes
port445=no_netbios
[360BSS01]
addr=192.168.206.100
BGarlockMacPro:~ bruceg$



Again, I will reiterate that this helps in my case, and your mileage may certainly vary. Make sure to have a backup before you change this file, and if something happens to your machine from the increased heat from all the productivity increases you will gain from this, I'm not responsible :-)



If this page was useful to you, please help others find it:  





5 comments




More Articles by Bruce Garlock



Click here to add your comments





Thu Apr 28 02:08:55 2011: 9468   TonyLawrence

gravatar


Sounds like Apple is replacing Samba, not dropping SMB support: http://forums.appleinsider.com/showthread.php?threadid=121142

They are dropping the ability to be an old NT Domain Controller.



Thu Apr 28 17:48:12 2011: 9469   BruceGarlock

gravatar


I wonder how long Apple has been working on this. How would anyone ever know if they borrowed a few lines from the Samba source? I kind of wish Apple was still behind Samba, because that has probably helped out Linux quite a bit having Apple on board (I would think).



Thu Apr 28 18:07:44 2011: 9470   TonyLawrence

gravatar


I would not be surprised if they hired the Samba folks to do this with them. That would be the easiest and least likely method to avoid any problems.



Wed Apr 4 12:29:26 2012: 10821   TonyBecis

gravatar


I've been having the random slow smb issue accessing win7 shares since upgrading to Lion (never had the problem in prior OS X releases). Placing the above nsmb.conf file (with one change) in ~/Library/Preferences fixed the problem. To get the share to mount via an applescript I had to remove the line 'port445=no_netbios'.



Wed Aug 8 21:23:19 2012: 11231   anonymous

gravatar


MAC OS 10.6.x: oddly enough enabling internet connection sharing fixed my LAN browse issues immediately.

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



LOD Communications, Inc.

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - BGarlock
       - MacOSX
       - Microsoft
       - Samba


















My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide



Buy Kerio from a dealer
who knows tech:
I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals