Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

SMB connections broken in Leopard

After installing Leopard in my office I can no longer connect to any of the SMB network drives at work. This worked perfectly under 10.4 and still works on other Macs on the network running 10.4. Unlike some of the other posts on this site, my username and password have no special characters so none of the posted fixes/hacks work for me.

Intel iMac, Mac OS X (10.5)

Posted on Nov 4, 2007 4:01 PM

Reply
35 replies

Feb 12, 2008 12:36 AM in response to Bill Eccles

Hi Bill

you have to create the /etc/nsmb.conf file... it's not there by default.
You have to fiddle with the settings in that file to match your samba/windows setup.
You can get a manual by typing
"man nsmb.conf" in your terminal.

If you aren't good to command line things, then you also just could fire this command instead and it will create the /etc/nsmb.conf file for you with the settings i used. (it will ask for your password)

sudo echo -e \ "[default]\nminauth=lm\nport445=normal\ndomain=TDCH\nstreams=no\nsoft=yes\ndisp lay charset = iso-8859-1\nunix charset = iso-8859-1\ndos charset = utf-8\nretry_count = 2\ntimeout = 15" > /etc/nsmb.conf

I can't remember, which error i got... it was something with a socket error...
There are different minauth settings - and as it showed off i had to use "minauth=lm" to get it working.

Kind regards,
Søren

Apr 10, 2008 2:36 AM in response to Adam Tanner

I have an issue with OSX Leopard (10.5.2) , where by I can't write to NTFS shares on W2K3 servers with SMB signing turned on and IPV6 disabled for the interface.

To recreate the issue:

Create a folder named test that contains two files one named ._test.txt and test.txt on OSX and copy to an SMB share on W2k3.

This results in spurious errors about permissions and locked files.

Copying a file larger than 4k results in the error:

"The operation cannot be completed because you do not have sufficient privileges or some of the items."

Using mount_smbfs from a shell on OSX results in the error: "Permission denied"

host:~ user$ mount_smbfs //user@server/share /Volumes/test-smbmount/
Password:
host:~ user$ cp test.docx /Volumes/test-smbmount/
cp: /Volumes/test-smbmount/test.docx: Permission denied

Using smbclient from a shell on OSX results in SUCCESS!!!

host:~ user$ smbclient \\\\server\\\share -U user
Password:
Domain=DOMAIN OS=Windows Server 2003 3790 Service Pack 2 Server=http://Windows Server 2003 5.2
smb: \> put test.docx
putting file test.docx as \test.docx (784.7 kb/s) (average 784.7 kb/s)
smb: \>

There is an alternative solution if you do need to drag and drop in your gui world, it'll cost you $120

link: http://www.thursby.com/products/dave-eval.html

I have mailed the developer as he has obviously identified the root problem of the issue and I urged him to share his patch/resolution with Apple in the interests of the user community and a darn nice thing to do.I had a response form the developer to my request. I sent my workaround solution to the developer and stated that in my opinion the pricing for the software seems unnecessarily high based on the functionality it provides and way above what I would be willing to pay to resolve one small issue.

<developers response>

Pricing is a difficult topic to discuss -- but if you have no use for the product, any price is too much. As for reporting bugs to Apple, they'll listen to customers much sooner than they'll listen to developers. And they have some of the brightest engineers I know. If you report the bug to them, they'll likely have it fixed in the next update.

</developers response>

I couldn't find away to report the bug myself so I had a friend do it for me. The response I had back from Apple was less than satisfactory.

They believe that the issue is to do with NTFS streams and that a file containing ".com.apple.smb.streams.on" needs to be created and placed into the root of shared volumes. This is not a fix!

If you want to prevent writing the "Apple Double" files to a remote share, enter the following into a terminal:

$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Problem still exists.

ref: http://docs.info.apple.com/article.html?artnum=301711

<apple double description>

ref: f http://docs.info.apple.com/article.html?artnum=106510

Before Mac OS X, the Mac OS used 'forked' files, which have two components: a data fork and a resource fork. The Mac OS Standard (HFS) and Mac OS Extended (HFS Plus) disk formats support forked files. When you move these types of files to other disk formats, the resource fork can be lost.

With Mac OS X, there is a mechanism called "Apple Double" that allows the system to work with disk formats that do not have a forked file feature, such as remote NFS, SMB, WebDAV directories, or local UFS volumes. Apple Double does this by converting the file into two separate files. The first new file keeps the original name and contains the data fork of the original file. The second new file has the name of the original file prefixed by a "._ " and contains the resource fork of the original file. If you see both files, the ._ file can be safely ignored. Sometimes when deleting a file, the ._ component will not be deleted. If this occurs you can safely delete the ._ file.

</apple double description>

I am not the only one this issue. A quick peruse on http://macwindows.com/ will show that numerous people are suffering and numerous workarounds have been suggested. Sadly none of which work for me. Each work around is stranger than the previous. Such as disabling IPV6 and updating Daylight Savings Time.

The issue lies with the samba integration. I am primarily a Gentoo Linux user and this kind of bug would have been resolved almost instantly if present in open source software.

Apr 10, 2008 5:09 AM in response to nmonkee

OSX Leopard (10.5.2) cannot write to remote windows SMB shares if SMB signing is enabled.

Ok so more and more in depth googling has shown that tons of people are experiencing the same issue. The 'fixes' and workarounds that people have suggested, tried and in some cases had some success with baffle.

* turn off IPv6
* enable SMB file sharing and assign READ/WRITE for EVERYONE
* re-install Leopard
* delete all credentials in the Key Chain
* add and remove the machine from the domain
* delete and re-create network service profiles
* delete and re-create shared folders on the server
* change computer name, NetBIOS name, DNS entries
* the list goes on and on...

The only way I can find that will allow OSX Leopard 10.5.2 clients to mount, read and write to remote SMB shares on W2K3 servers is.....

Turn off SMB signing. Apple have borked their implementation.

From: http://www.apple.com/macosx/features/300.html

Windows SMB Packet Signing
Enjoy improved compatibility and security with Windows-based servers.

To disable SMB signing:

Open Default Domain Controller Security Settings.
Go to Security Settings, Local Policies, security Options.

Disable the following:

Domain member: Digitaly encrypt or sign secure Channel Data (Always)
Microsoft network server: Digitally sign communications (Always)
Microsoft network server: Digitally sign communications (If client agrees)

To refresh the policy:

from a command prompt run gpupdate

now OSX Leopard 10.5.2 clients can mount, read and write to remote SMB shares on W2K3 servers.

** Good luck convincing your domain admins to downgrade their enterpise security for OSX users. **

SMB connections broken in Leopard

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.