• On BNET: Online porn struggles for profits
advertisement
December 13, 2006 3:00 AM PST

Problems connecting to SMB servers; especially through third-party wireless routers (errors -36, -50)

by CNET staff
  • Font size
  • Print
  • 7 comments

We've received several reports from readers indicating problems connecting to SMB (Samba) servers through certain third-party wireless routers. Users experiencing this issue generally received the error "-36" and a message stating:

"The Finder cannot complete the operation because some of the data in smb://[..] could not be read or written"

We've covered the -36 error message in conjunction with SMB servers a number of times in the past, but never implicating third-party wireless routers specifically.

In Knowledge Base article #301580, Apple says that this error can sometimes occur with SMB/CIFS server that only supports plain text passwords, and offers Terminal-based instructions for enabling Macs to use plain text passwords. Unfortunately, this workaround has not proven successful for some users experiencing this issue.

Other potential workarounds for this issue include:

Modify smb.conf file Open the file /usr/local/samba/lib/smb.conf in a text editor, or type sudo vi /etc/smb.conf in the Terminal (located in Applications/Utilities) open the file in the built-in vi text editor.

Find the line encrypt passwords = yes. This line determines whether or not your Mac will encrypt passwords before sending them. Depending on the configuration of the SMB server to which you are connecting, this line either needs to be commented (disabled) or uncommented (enabled). You can make it commented by putting a semi-colon (;) in front of it, or make it uncommented by removing the semi-colon.

You can also manipulate SMB settings through a GUI with the freeware utility SharePoints.

Re-establishing keychain passwords Deleting then re-entering passwords associated with specific servers can resolve some SMB networking issues. A good way to test whether or not this workaround will bear fruit is to create a new user account (as described in this tutorial) and check for access to the problematic SMB server. If it works, your keychain passwords may be to blame. Go back to the original account, and launch Keychain Access (located in Applications/Utilities). Look for any items that might be related to your SMB server. Delete, then re-establish them.

Try using "Connect to Server" instead of browsing Select the "Go" menu in the Finder and scroll down to the "Connect to Server" option (also accessible through the keyboard combination Command-K) then type SMB://[server name], rather than attempting to browse for servers in the Finder.

Enable CIFS on the server Ask your system administrator to enable CIFS on the server, and attempt to connect via that protocol instead of SMB.

Enable AFP server Ask your system administrator to enable AFP (Apple filesharing protocol) on the server, and attempt to connect via that protocol instead of SMB. AFP is generally faster when accepting access from Macs in any case.

Upgrade to Mac OS X 10.4.x (Tiger) For some users, Mac OS X 10.4.x is able to connect to the same SMB shares that Mac OS X 10.3.x is not.

Upgrade server to Windows 2003 Some users have experienced SMB connection issues when connecting to SMB-enabled Windows 200 servers, but not when connecting to Windows 2003 servers.

Don't block UDP port traffic If you have a Firewall enabled, use the following process to un-block UDP port traffic:

  • Open System Preferences
  • Select the "Sharing" pane
  • Select the "Firewall" tab
  • Click the "Advanced..." button
  • Turn off the option to the "Block UDP traffic"

Feedback? Late-breakers@macfixit.com.

Resources

  • #301580
  • instructions
  • SharePoints
  • tutorial
  • Late-breakers@macfixit.com
  • More from Late-Breakers
  • Recent posts from MacFixIt
    Address Book: Search not working properly
    iTunes 9.0.3 breaks AirTunes connection for some
    Apple releases Aperture 3.0
    Manage iCal's automatic e-mail generation for invitations
    CNET TV Apple Byte: Apple faces critics
    Weekly Utilities Update: Net Monitor, MiniUsage, TimeMachineEditor, more...
    Odds and Ends: Essential video codec packs for OS X
    Address Book: Unable to add, view contacts
    Add a Comment (Log in or register) (7 Comments)
    • prev
    • next
    by canonxs November 5, 2008 10:58 PM PST
    >
    This is a reply to a previous comment by Briace0422


    <a href="http://www.chaiselounge.info">Chaise Lounge</a>
    Reply to this comment
    by canonxs November 5, 2008 10:58 PM PST
    >
    This is a reply to a previous comment by Briace0422


    Cool Website - Everyone is Glad!
    Chaise Lounge
    http://www.chaiselounge.info
    Reply to this comment
    by gordon227 November 11, 2008 9:49 AM PST
    UDP port traffic being blocked in my experience has been the most common cause for this issue. SMD is UDP based. Third party anti virus and firewall software have a tendency to indiscriminantly block these ports due to viruses exploiting this type of port and the processes that run over them. At least that is my experience.

    Gordon
    Baseball Bats For Sale
    Cheap Baseball Bats
    Cheap Baseball Bats
    Reply to this comment
    by gordon227 November 11, 2008 9:52 AM PST
    I don't think it has anything to do with UDP ports being blocked I have a feeling the primary glitch is a difference between how windows passes on security tokens as compared to Mac and their use of keep alives.

    Demarini Baseball Bats For Sale
    Cheap Demarini Baseball Bats
    Discount Demarini Baseball Bats
    Reply to this comment
    by stacychen January 8, 2009 11:55 PM PST
    About 50 years ago, the use of fashion jewelry (fashion accessories) by the public became more widespread. More designers began producing eye-catching discount fashion jewelry. As fashion jewelry became increasingly popular, it was seen more in daily wear. Though the methods of producing jewelry were not as advanced as they are today, some of the pieces created from the 30s to the 50s show exquisite design and craftsmanship. Modern collectors buy and sell pieces from that time for thousands of dollars.
    Fashion jewelry is now considered to be a very essential component of everyday wear. Those who are influenced by the fashion trends of the stars typically prefer to wear the same kind of bracelets, rings, earrings, and necklaces that their beloved celebrities wear. Designer jewelry can be very costly and many people are not able to afford all of the fine jewelry worn by their favorite icons. Designers have started producing discount fashion jewelry that rivals its expensive counter parts in appearance. They have been able to create stunning pieces out of less expensive materials that look so much like the originals, it?s hard to distinguish them by the naked eye.
    stainless steel jewelry factory
    Reply to this comment
    by wolale May 26, 2009 1:53 AM PDT
    <a href="www.beadschannel.com" target="blank">wholesale beads</a>
    Reply to this comment
    by wolale May 26, 2009 1:58 AM PDT
    wholesale beads
    Reply to this comment
    (7 Comments)
    • prev
    • next
    advertisement

    About MacFixIt

    MacFixIt is CNET's troubleshooting resource for all things Mac. The information here helps you navigate the ins-and-outs of Mac ownership with how-tos, troubleshooting information, news, reviews, and more.

    Add this feed to your online news reader