Apple Event: May 7th at 7 am PT

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

Windows 7 cannot access Lion SMB share, no login prompt

Hey everyone,


I am able to access my Windows 7 machine's shares on my Mac (Lion 10.7.3) through SMB with no problems at all. However, I am unable to access my Mac's shares on my Windows machine.


I have been fighting with this issue for hours and haven't found a solution yet. I've done a bunch of Googling and have found plenty of posts related to my issue, but no solutions. Everyone seems to be at least receiving a login prompt when they try to connect to a Mac OS X Lion Samba share from a Windows 7 machine, but I am not. All I get is "Windows cannot connect to \\MAC" after ~15-20 seconds of waiting.


Here's what I've tried:

Reconfigured all of my settings on both the Windows and Mac systems, then restarted.


  • Windows: set to 40- and 56-bit encryption for File Sharing, instead of 128-bit.
  • Windows: network discovery and file sharing enabled.
  • Windows:Network Security: LAN Manager Authentication Level to Send NTMLv2 response only” to “Send LM & NTLM – use NTLMv2 session if negotiated as suggested in another post.
  • Windows: verified workgroup as WORKGROUP.
  • Windows: verified Windows Firewall options for File Sharing.
  • Windows: cleared credentials for my Mac's share in the Credential Manager, still no login prompt.
  • Windows: reinserted my Mac's credentials in Credential Manager for the share, same issue.


  • Mac: Enabled File Sharing, enabled SMB, enabled my Mac's account.
  • Mac: verified Firewall settings for File Sharing.
  • Mac: verified workgroup as WORKGROUP in WINS/NETBIOS configuration.


For both systems: verified IP configuration as DHCP under the same gateway and subnet mask--they're clearly under the same network.


Could it be a hosts file issue of any sort?


All help is appreciated, thank you!

MacBook Pro, Mac OS X (10.7), 15-inch 2011

Posted on Apr 15, 2012 2:08 PM

Reply
30 replies

Jul 9, 2012 8:25 AM in response to abwc

abwc wrote:


...


At this point, it is working, but I don't yet know if the 'temporary nature' of this 'working' condition, as described by others, has yet to expire.


...


I have now found some evidence to support the idea of this fix's 'temporary nature', and thought I should update this thread with that new insight.


I rarely turn off my machine, but recently had the need to have the machine off for several consecutive days.


When I turned the machine back on, Windows clients could no longer connect to SMB chares, and exhibited the same password-refusal behavior I saw originally.


To correct the problem, I repeated step 9, and then everything started working fine again.

Jul 26, 2012 7:22 AM in response to docmars

I'm adding it to here just so others looking for this problem might find it useful. In my case, which is a rather unique one, the problem had to do with using jumbo packets. My entire network is set to jumbo packets. The Windows 7 machine will only connect to Lion machines (any) if I disable jumbo and switch to the normal 1,500 bytes size. This is a major drag as these machines are connected using 10Gb fiber. There is only one Windows machine and it's the only one to have issues. It just adds to the stereotype...

Sep 24, 2012 6:41 AM in response to vanclute

I'm finding that it is necessary to repeat these steps sometimes, such as when installing an OS update.


Today, I updated from 10.7.4 to 10.7.5, and after I did my Windows connections to OS X shares failed with authentication errors.


I repeated these steps and everything started working again:


  1. System Preferences
  2. Sharing
  3. Options
  4. Uncheck Share files using SMB
  5. Uncheck the box next to my user account
  6. Click Done
  7. Options
  8. Re-check Share files using SMB
  9. Re-check the box next to my user account
  10. Click Done

Oct 15, 2012 8:05 PM in response to pottmi

Curiously, the procedure(s) to reduce Windows' NTLM Authentication level ( linked in your message; one by editing the regitry directly, and the other by editing Local Security Policy ) are ones I have employed previously, but with Snow Leopard and Lion, this has proved to be insufficient.


Contrary to my previous post here, it does NOT appear that the checkbox tickle is required with EVERY reboot, but instead only occasionally, such as ( perhaps ? ) after a security update for OS X.


FWIW, I'm connecting from Windows 7 Pro to a Lion workstation, not OS X Server.

Oct 30, 2012 8:27 AM in response to Shootist007

" Shootist007 Decatur, GA, USA


Try turning off the Mac firewall. If you are behind a router you don't need it enabled.


In the options section of Sharing make sure your username is listed and checked and that you have input the correct password."


Thanks! This solved my problem! :-)

Apr 10, 2013 6:17 PM in response to docmars

This may be irelevent to a lot of users, but I found this thread via Google and I have a feeling a lot of people end up here with similar problems.


I was able to solve my issue (could not connect via SMB to my Lion OS X machine from another machine).


Hidden part way down in my Firewall > Options area there was an entry for "smbd" which was blocked by default. Enabled that, and - bam. No more problems.

Apr 10, 2013 7:06 PM in response to Titaniumdoughnut

Do you have a Router? If you do that is all the protection you need. The router stops all incoming internet traffic unless YOU Request it, like in a Web browser going to a website, or you open ports on the router, Port forwarding, to send whatever may be coming in on that port to a specific computer IP address.


It does not work on outgoing traffic to the internet.

Jul 23, 2013 8:21 AM in response to docmars

I'm running 10.8.4 Server, and have tried all the tricks in this thread (plus several others), to no avail. I finally had to disable Windows file sharing, install Samba3 via MacPorts, and Webmin to give me a decent GUI config front-end (though there are others out there). I only needed one user to have access to one SMB share, though, so this workaround shouldn't cause too much grief.


It's very disappointing that Apple chose to go back to the "roll your own" model for Windows file services. I thought we had already learned that the "modified open source" model was far superior, but if nothing else, at least they've proved it once again. If everyone would submit feedback asking Apple to "return to Samba," maybe it would help.

Jun 14, 2014 2:46 PM in response to docmars

A change in Windows Vista/7's security policies is necessary to solve this reliably.

The procedure is described here:


http://blog.kowalczyk.info/article/ffn/Accessing-Mac-file-shares-from-Windows-7. html


I abbrevuated the procedure


1. run Secpol.msc from the search bar in the START menu

2. Expand "Local Policies" and select "Security Options"

3. Locate "Network Security: LAN Manager Authentication Level" in the list and double-click it.

4. Change the setting from "Send NTMLv2 response only" to "Send LM & NTLM - use NTLMv2 session if negotiated"

5. Network Security: Minimum session security for NTLM SSP Based (including secure RPC) Clients

6. Change the setting from "require 128 bit" to unchecked (No Minimum)

7. Click OK

Windows 7 cannot access Lion SMB share, no login prompt

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