10.5: A workaround for -43 error mounting SMB shares
Nov 26, '07 07:30:05AM
Contributed by: mjb
After upgrading to Leopard, I found I was unable to mount any of the shares on my Linux file server, getting the following error:
The operation cannot be completed because one or more required items cannot be found.
(Error code -43)
At first I thought this was because of the security configuration I was using on the file server, or perhaps because Leopard had changed the type of authentication method it was expecing from an SMB file server (NTLMv2 for example). It turns out it was a lot simpler -- it was because all of the shares on the file server were set as non-browseable (Browseable = No in /etc/smb.conf. Changing at least one share to be browseable corrected the issue and let me connect to the file server and mount the shares available, regardless of if they were set as Browseable or not.
It should be noted that if you connect to any windows servers, then you will not notice this issue as the default shares for drives (c$, d$, etc) are browseable, but most SMB client implementations will 'hide' them from the end user.
You can see this by connecting to list the file shares of a windows system in Terminal.app:
$ smbclient -U Administrator -L windows_server_hostname
Password:
Domain=[DOMAIN] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2]
Sharename Type Comment
--------- ---- -------
C$ Disk Default share
IPC$ IPC Remote IPC
ADMIN$ Disk Remote Admin
.....
If you simply used Command-K in the Finder and entered smb://windows_server_hostname/, you wouldn't see any of those shares in the dialog that pops up.
Comments (5)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20071110042328748