You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

smb shares on servers inaccessible after mountain lion upgrade?

From my mini, I access some windows servers for data storage, mapping SMB. For some reason, after upgrading to Mountain Lion, I can't get to those drives (shares) any longer.


They are accessible from other computers on the network, and they are even accessible from a virtual Win7 (Fusion) session on the mini. But in the main OS X mountain lion environment on the mini, they are not accessible through any of the usual means (Finder, etc).


I even installed ForkLift and ForkLift can't get to them either.


If I go to GO -> Connect to Server, I get "There was a problem connecting to the server "192.192.192.192". (Not the real IP.)


If I use the existing entry in the list of shares I get "Connection Failed".


Needless to say, noting on the server has changed, and Mountain Lion left the shortcuts/share names/startup connection commands (which used to open the server drives when the mini started up) in tact. But actually connecting and using docs on the server, no dice.


What am I missing?

Mac mini, Mac OS X (10.7.4)

Posted on Jul 27, 2012 7:25 AM

Reply
219 replies

Oct 11, 2012 7:48 AM in response to nathan_h

I have a temporary fix for accessing OSX shares from Windows 7. If you keep getting a request for a password and the password does not work you ...


In OSX go to settings > sharing > options > UNCHECK "Share files and folders using SMB (Windows) > Done


Then go back and RECHECK the SMB option. You will have to do this again if you reboot OSX.

Oct 12, 2012 2:34 AM in response to wingfat

It hadn't occurred to me until today, but you are right.. this does fix it until reboot. Cmon Apple, we're 2 major updates and a supplemental update in, sort it out.

wingfat wrote:


I have a temporary fix for accessing OSX shares from Windows 7. If you keep getting a request for a password and the password does not work you ...


In OSX go to settings > sharing > options > UNCHECK "Share files and folders using SMB (Windows) > Done


Then go back and RECHECK the SMB option. You will have to do this again if you reboot OSX.

Oct 15, 2012 1:41 AM in response to sm00thArsenal

I have been having the same issues connecting to the mac from Win 7, I have been doing the diable windows sharing are re-enabiling to get it working again. Not a permanent fix.


On the connecting mac to windows shares I have been having a whole bunch of issues. I put a new PC together (12 core Xeon, Wiin 7 Ulti) and where I could connect to my old Win 7 machine with no problem the new machine is a pain to connect to, even after setting the different setting in the security policies that I have done before to get it working. Sometime I cant see the share. Try connecting again and I can see the share and connect, but I cant write, and then sometime I can see it, connect it and write until I disconnect and then it startes all over again. And sometimes refusal to take my password and then seconds later taking it. Tried creating accounts on the PC with the same login/password as on the mac and setting permissions for that.


I have tried just about every way to get this thing connected, smb://name/, smb:name/share/, smb://username:name/, smb://username:name/share, smb://smb://username:password:name/


So far smb://smb://username:password:name/ seems to be working for the moment. I have also tried the regedit mods mentoned a couple posts up. I dont know if they will work. We'll see in the future.


And one note for an earlier poster with no password for his share, you must have a password. The mac will not connect with a null password.

Oct 24, 2012 1:59 AM in response to nathan_h

I have had issues connecting to SMB shares on my office server. I have been able to connect by entering the share address as suggested by others in this forum, but i have not been able to browse shares. I have also not been able to browse shared Windows 7 machines on the network - this worked fine before Mountain Lion.


However, after a reinstall of Mountain Lion 10.8.2 on a brand new SSD disc things have been back to normal - browsing the network, including smb shares, have worked fine. Today i noticed that when turning on 'Back To My Mac' in the System Preferences, shared computers on the network disappears from the Finder. Turning off 'Back To My Mac' and restarting fixes the problem and browsing and connecting is back to normal. Maybe there's an issue with 'Back To My Mac'. Any others with this situation?

Nov 2, 2012 7:50 AM in response to nathan_h

I noted that after upgrading from Snow Leopard to 10.8.2 Mountain Lion, I started having trouble mounting Samba shares served by a Unix server on our network.


Connecting via the Finder resulted in the "There was a problem connecting to the server X, Contact your system administrator for more information" message when I used this syntax:


smb://username@serverhost/sharename


After reading through this thread, I tried connecting via the command line / Terminal:


$ mkdir /Volumes/sharename

$ mount_smbfs //username@serverhost/sharename /Volumes/sharename


I'm prompted for the password, and then the share mounts fine.


So, it would appear to be some difference in the way the Finder initiates/handles connections and the way the underlying OS X operating system does (assuming that mount_smbfs is a part of the same system as the Finder's network share management).


Chris


Message was edited by: James Hardie - corrected typo

Nov 7, 2012 11:56 AM in response to James Hardie

I tried your suggestion of using mount_smbfs but that failed with:

mount_smbfs: server connection failed: Socket is not connected


Hmmm. So I tried instead with mount -t smbfs - and lo and behold, it worked! But only for a few minutes. Somehow the share disconnected, and when I tried mounting it again (either mount_smbfs or mount -t smbfs) I got again the same failure as above.


I also tried smbutil view -g //albert@192.168.0.15 which also fails with the "Socket is not connected" error. I don't think there is anything wrong windows-side: I can access all the SMB shares from my Windows virtual machine running on my Mac. I tried multiple times, all without success.


I also tried connecting to my local windiows VM. Using the Finder Go to Server approach, I do get the user and password prompt, but the authentication fails - although I know for a fact that both username and password are correct. Trying the command line, I also get the authentication error.


So there are a good number of problems with the whole SMB integration charade: mostly connections are rejected, and if they get through then they fail with authentication problems. Looking from the many comments and complaints I have found googling the web, all I can conclude that the SMB integration is seriously broken and has been for many versions of MacOS. I can also conclude that Apple is just not interested in fixing them.


Granted, SMB is a lousy protocol, but it is still widely used in the Windows world. I am sure lack of proper support is hurting Apple's use in Windows shops.


Albert

Nov 7, 2012 1:55 PM in response to agodfrin

Since SMB does not work, I thought of using a simpler approach: ftp. So I setup an ftp server on my windows server (Filezilla). And guess what, it does not work either.


It works fine from command line.

It works fine from the Filezilla clienbt.

It works fine from Firefox.


It does not work from Safari.

It does not work from Finder (Go Server).

In both cases I enter "ftp://192.168.0.15", enter username and password and get the following error:

There was a problem connecting to server "192.168.0.15"

The share does not exist on the server. Please check the share name, and then try again.


After some debugging, I found out that nothing was wrong with my ftp. All ftp servers I tried failed the same way. For example ftp://ftp.funet.fi works fine from all interfaces and OS's except from Safari and Finder.


My patience with Apple is really running thin.

Nov 11, 2012 7:08 AM in response to nathan_h

I'm having a similar issue, but not exactly what you all are seeing.


So, when I first got this (new Retina 13" MBP running 10.8.2.), everything worked fine.

After a couple of days of closing lid (sleep) and resume, it would not reconnect the share, even if I tried manually from finder.


Same error message as everyone else "there was a problem..."


If I try from CLI, I get "server connection failed: Cannot allocate memory"


The only way for me to fix this error and re-connect to the share is to restart my windows 7 computer!

Here's what ***** also -- in this state, no macs can connect to my windows box at all.


However other windows boxes can connect just fine! It's like the retina mac is doing something to mess up the SMB server but then it only messes it up for Mac clients? Makes no sense to me. Anyway on my MBAir with 10.7 this used to work just fine. Sigh.

smb shares on servers inaccessible after mountain lion upgrade?

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