rebelscum75

Q: SMB sharing in Yosemite Server

Before I upgrade to Yosemite Server (from 3.2.2) I was wondering what are people's experiences with SMB file sharing in Yosemite Server, I see some changes had been made, is it working anywhere near reliably yet - in terms of file sharing between Macs and PCs? (like Snow Leopard Server used to)

Thanks,

Mac mini, OS X Server, OSX Server 3.22 on 10.9.5 Mavericks

Posted on Oct 22, 2014 4:35 AM

Close

Q: SMB sharing in Yosemite Server

  • All replies
  • Helpful answers

  • by flur,

    flur flur Oct 22, 2014 7:16 AM in response to rebelscum75
    Level 1 (0 points)
    Oct 22, 2014 7:16 AM in response to rebelscum75

    I am unable to connect to the SMB shares on my mac from Windows/Sonos clients on my network.

  • by rebelscum75,

    rebelscum75 rebelscum75 Oct 22, 2014 7:50 AM in response to flur
    Level 1 (0 points)
    Oct 22, 2014 7:50 AM in response to flur

    that does sound like a slightly different problem I experienced, can you try turn samba sharing off and on in File Sharing preferences.

  • by Side_Step_Society,

    Side_Step_Society Side_Step_Society Oct 22, 2014 11:20 PM in response to flur
    Level 2 (424 points)
    Apple Music
    Oct 22, 2014 11:20 PM in response to flur

    Same issues as flur. Unable to connect to my Mac from my Windows machines with confirmed valid credentials.

  • by rebelscum75,

    rebelscum75 rebelscum75 Oct 23, 2014 4:25 AM in response to Side_Step_Society
    Level 1 (0 points)
    Oct 23, 2014 4:25 AM in response to Side_Step_Society

    Could you try (a) turn samba off and on again in sharing or see if that helps, or (b) borrowing a possible workaround from http://www.jimmah.com/vista/net/ntlm.aspx , change the local security policy on your PC.

    1. Click Start
    2. Click Control Panel
    3. Click System and Maintenance
    4. Click Administrative Tools
    5. Double-Click Local Security Policy
    6. In the left pane, click the triangle next to Local Policy
    7. In the left pane, click Security Options
    8. In the right pane near the bottom, double-click "Network security: LAN manager authentication level"
    9. Click the drop-down box, and click "Send LM & NTLM - use NTLMv2 session security if negotiated"
    10. Click OK

     

    Personally, I have had the PCs on my network connecting with Samba via Macports since OSX 10.8, and thats worked fine but not user friendly for anyone unfamiliar with Terminal.

  • by Thomas-M,

    Thomas-M Thomas-M Oct 24, 2014 3:08 AM in response to rebelscum75
    Level 1 (67 points)
    Servers Enterprise
    Oct 24, 2014 3:08 AM in response to rebelscum75

    Got exactly the same issue here, worked perfectly in mavericks. Since yosemite have been unable to access mac from windows via SMB

  • by Thomas-M,

    Thomas-M Thomas-M Oct 25, 2014 7:59 PM in response to flur
    Level 1 (67 points)
    Servers Enterprise
    Oct 25, 2014 7:59 PM in response to flur

    On your windows machine(s) effected, check the following registry key;

     

    Key "LmCompatibilityLevel" located in directory HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, you will find

    this is already set to "1", change that from "1" to "3". It doesn't require a reboot and takes effect immediately.

     

    This fixed the issue on all of my windows 7 and 8 machines.

  • by jeremy.green,

    jeremy.green jeremy.green Oct 26, 2014 4:13 AM in response to Thomas-M
    Level 1 (0 points)
    Oct 26, 2014 4:13 AM in response to Thomas-M

    Thanks - also works on win 2003. Was set to 2 changed to 3 and all working.

  • by Side_Step_Society,

    Side_Step_Society Side_Step_Society Oct 26, 2014 3:49 PM in response to jeremy.green
    Level 2 (424 points)
    Apple Music
    Oct 26, 2014 3:49 PM in response to jeremy.green

    Same thing here. Value was set to 2, changed to 3 and issue was resolved.

  • by rkutech,

    rkutech rkutech Oct 30, 2014 7:42 PM in response to Side_Step_Society
    Level 1 (5 points)
    Oct 30, 2014 7:42 PM in response to Side_Step_Society

    Changing from 1 to 3 resolved my issue.  Thanks a lot

  • by rebelscum75,

    rebelscum75 rebelscum75 Nov 21, 2014 7:12 AM in response to rebelscum75
    Level 1 (0 points)
    Nov 21, 2014 7:12 AM in response to rebelscum75

    Thanks for your replies, to update my original post I installed Server 4 on a clean install of Yosemite, and have to admit file sharing in afp and smb has been working nicely for about a month, its not worked this well since I was forced to migrate from Snow Leopard Server.

    There was one PC running Vista which encountered various errors copying to, or saving to the server. Tried all or most of the various 'fixes' on this and other forums with no luck. Ultimately the only thing that fixed it for me was upgrading to Windows 7. Now all fine.

  • by mattlkelly1,

    mattlkelly1 mattlkelly1 Nov 22, 2014 9:14 AM in response to Thomas-M
    Level 1 (0 points)
    Nov 22, 2014 9:14 AM in response to Thomas-M

    I did find that on Vista and XP, after making the change a reboot was required.

  • by m stan,

    m stan m stan Dec 7, 2014 3:29 PM in response to rebelscum75
    Level 1 (5 points)
    Dec 7, 2014 3:29 PM in response to rebelscum75

    I have not been able to find an error free setting for Yosemite from among the five available in Win7 Ultimate regardless of whether smb2/3 is disabled or not on Win7.   I appear to be sharing without problems under Mavericks with Win7 LmCompatibility set for "send NTLMv2 response - refuse LM and NTLM" (this appears to be equivalent to level 5 setting in your key)  and smb2/3 disabled on Win7.    I have achieved limited sharing from Yosemite to Win7 in that I can stream audio/video to Win7 but can't simultaneously record video back to the Yosemite share; I also get some write errors as well.   So are you getting simultaneous read/write performance with Yosemite sharing to Win7? 

  • by Erik Madsen,

    Erik Madsen Erik Madsen Jan 17, 2015 9:35 PM in response to rebelscum75
    Level 2 (240 points)
    Jan 17, 2015 9:35 PM in response to rebelscum75

    I had two servers where SMB completely broke on me once I updated to Yosemite.  I had a scanner that could no longer connect, and I had one Windows user that was unable to connect.

     

    My friend Charles had me log into terminal and type the following, which fixed the issue on both servers:

     

    sudo server admin settings smb:ntlm auth = "yes"

    sudo serveradmin settings smb:lanman auth = “yes”

     

    Here is his whole post on the issue:

     

    http://krypted.com/windows-server/yosemite-server-smb-and-windows/

  • by Skinny Jim Compton,

    Skinny Jim Compton Skinny Jim Compton Aug 4, 2015 9:12 PM in response to Thomas-M
    Level 1 (0 points)
    Aug 4, 2015 9:12 PM in response to Thomas-M

    Thanks a million for this! I spent the better part of a day evaluating solutions in order to get this to work. This fix worked immediately for me!