smb shares on OSX to Windows not working after upgrade

After upgrading to Maverick and OSX server 3.0 SMB file sharing is broken. I connect from Windows 7 to OSX SMB shares. Some shares work others only work with some folders on the share. Most folders display an error when trying to access the folders from Windows.

I checked file and folder permissions on OSX (finder and ls -l) permissions are the same.




Mac mini, OS X Mavericks (10.9)

Posted on Oct 25, 2013 12:30 PM

Reply
10 replies

Nov 8, 2013 5:15 AM in response to thepod7

I have exactly the same problem. My Windows 7 x64 SP1 client successfully connected to SMB shared folders on my MAC Mini Server Mountain Lion (OS X 10.8). After upgrading to Maverick (OS X 10.9) and Server 3.0 my Windows 7 x64 SP1 client cannot connect to the SMB shares anymore. It keeps prompting for username and password. I am using Open Directory and tried different network accounts but no joy.

I ran a network capture on the Windows 7 x64 SP1 client and noticed the connection was failing with “LOGON_FAILURE”. However the same user account can access mail, print services, etc., so the account is not locked or the password expired.

I then tried to connect to the SMB share using the local system administrator account and it worked!

I only have one user using a Windows 7 x64 SP1 client machine so I created a new local user account, local group and assign the necessary permissions for the Windows user to access the SMB shares and worked fine.

Obliviously this is not a solution but a workaround and this may not be very practical if your network have few users using Windows clients connecting to SMB shares on your MAC Mini Server running Mavericks (10.9) and Server 3.0.

In my case it looks like the upgrade caused issues with Open Directory network user accounts authenticating to SMB shares from Windows clients.


I hope this helps!

Nov 11, 2013 2:25 PM in response to repiuk

Hi there,


i also use a lot of windows connections to Mountain Lion or Mavericks


what worked for me was to make a netlog.bat file

containing:


@ echo off

net use/delete w:>nul

net use F[disk letter]: \\0.0.0.0\Sharename /user:user password

exit


and put that in the startup folder of the windows machine..


now there is a stable connection every time te windows machine boots..


hope this helps..

Nov 15, 2013 10:29 AM in response to thepod7

@thePod7, your suggestion on Setting the Lan Manger Authentical Level worked! Only thing missing is the instructions on how to Set the Lan Manager Authentication Level. So I've included it below. Hope this helps someone else having the issue!


On command line....


1. Enter “gpedit.msc” in the Start Search box.

2. Open “Computer Configuration”/Windows Settings/Security Settings/Local Policies/Security Settings.

3. In the right pane, enable the following policies:


Network access: Allow anonymous SID/name translation

Network access: Let Everyone permissions apply to anonymous users


Also please disable the following policies.


Network access: Restrict anonymous access to Named Pipes and Shares

Network access: Do not allow anonymous enumeration of SAM accounts

Network access: Do not allow anonymous enumeration of SAM accounts and shares


Change the following policy:

Network security: LAN Manager authentication level


Change the value to “Send LM & NTLM - use NTLMv2 session security if negotiated”.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

smb shares on OSX to Windows not working after upgrade

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