Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Windows computers can not access smb-shares in Lion

I have updated von SL to Lion Server. Now, I don't gave Access to my Windows shares from any Windows Computers. If I connect a Windows share u.e. froom Windows 7 Workstation I will see a window with username and password for the share. But the username und password from lion for this share will not work. It was no problem in SL. Any idea?

Mac OS X (10.7)

Posted on Jul 24, 2011 8:54 AM

Reply
136 replies

Aug 2, 2011 5:33 AM in response to gerdgruhn

in my situation, my Win7 and WinXP clients could no longer access SMB shares on my iMac (recently upgraded to Lion Server). BEFORE the Lion upgrade (from Snow Leopard 10.6.8), everything was working fine. after installing Lion Server though, my Windows machines could no longer authenticate/access SMB shares on the Mac.


here's what i did to fix it...


temporarily disable the SMB service, then re-type your user account (MacOS) password (that Windows clients are using to authenticate on your Mac)


  • System Preferences > Sharing > File Sharing > Options button
  • UNCHECK 'Share files and folders using SMB'
  • UNCHECK the 'On' box next to the user account(s) to which Windows clients will be authenticating


then, do the reverse:


  • re-check the 'On' box for each user account, and RE-ENTER the password(s)
  • re-check the box 'Share files and folders using SMB'
  • click DONE


seems that during the upgrade to Lion, my SMB password did not get migrated over, even though my account was still 'checked' (appeared active) under the SMB file sharing section. after i re-entered my SMB password, the Windows machines authenticated no problem.

Aug 3, 2011 12:39 AM in response to gerdgruhn

I can connect from XP, Vista and 7, but only from Vista i have a problem creating new folder and files.

When i create a new folder or file i've got problem with folder name or file name that are created with strange characters (like chinese?!?). After that, if i update (reload) the list of folder or files i can see correct names.

Has anyone had the same problem with Windows Vista?

Thanks.

Aug 5, 2011 3:02 PM in response to techcafe

Your post is about Lion _client_, not Lion Server. That System Preferences --> Sharing -->File Sharing thing does nothing for network account users/OD users, only for local accounts. OD users aren't in the list. So, that's NOT a solution to the questions or the thread. How do you get access only/OD users to connected to the SMB share from Win 7?

Aug 5, 2011 4:40 PM in response to anthonyfromporters lake

Just in case my post wasn't very clear.


When trying to connect to an SMB share on a LION server from a Win 7 Client. Use the credentials of a Local (Local to your Lion Server) user and not the Credentials of an OD user. That's the only way I have been able to connect.


Otheerwise the logon prompt just keeps displaying.


This was not how it worked in SL Server.



Hope that helps?

Aug 5, 2011 7:35 PM in response to greenvespa

For me the solution has worked, but only for shares on HFS volumes. I have an external 1TB drive, split into two 500GB volumes, one for TimeMachine, the other movies and music. Movies and Music is FAT32 so I can share it with my linux and windows PCs if I just pull the drive out. The TM volume is HFS. I can create shares and connect to them now from XBMC and Windows, but only on the HFS volumes on my mac, not the FAT32 volume.


Can anyone else share a FAT32 drive?

Aug 6, 2011 12:35 PM in response to gerdgruhn

The point here is that Apple didn't like the freeware license and decided to replace SAMBA. This is an example of just how a company who is doing well financially can ruin their reputation. The usage if the AFP verses the SMB protocol is probably four or five to one in favor of SMB (Microsoft networking). Apple engineers decided that the 20+ years that the folks at the Samba team had accumulated could be replaced easily. This is a typcal example of the Apple team being snotty and believing that the knew far more than they actually did. Replace the SAMBA software or I will have to myself. SAMBA works and the Apple POS replacement software doesn't. This is the largest fopaux for an Apple release ever. Seems as if Steve Jobs is really dying. I can't imagine Steve letting this garbage besmirch the Apple reputation for reliable software despite it being a windows sharing protocol. The protocol has been a primary protocol since the late 80's and the SAMBA group has been the default server software for SMB since then. What happened to Apple concentrating on what they do best -- the UI. That's what brought Apple back from the grave when Steve returned to Apple, put in BSD, and released OSX. Apple ought to remember what it brings to the world. If they don't, (Steve is gone with no visionary who really understands their expertise) I worry that Apple will loose what it has spent 12 years being excellent in building.

Aug 8, 2011 2:39 PM in response to gerdgruhn

Well I've been knocking my head against the wall on this all day. Then I find this post. I had not been able to connect to any smb share on my Lion Server. Then I tried the tip by anthonyfromporters lake by using the System Preferences file sharing SMB settings and it worked! I am really steamed right now that I can not use Open Directory users for SMB share access from my Windows 7 clients!!!!!!! I'm gonna hate to have to pay the M$ tax and get some Active Directory servers just to share files. Surely there has to be a better way!

Aug 9, 2011 7:26 AM in response to Community User

No, that doesn't work. First in your example...


LION server name : MyServer


"MyServer" needs to be the FQDN or the IP address, not just the server name, or it won't even find the share to attempt to authenticate.


Second, even with the FQDN or IP, it still doesn't authenticate to an OD only user. You're sure you're not trying to connect with a user that has a local home folder on the server?

Aug 9, 2011 9:28 AM in response to Community User

well, OK, something is odd. I've tested an upgraded Lion Server with 7 or 8 Win 7 machines at a client's, and then on a physical install and a VM install of Lion Server in my test setup, and used 3 different Win 7 machines. Ping is fine, DNS is fine, Macs can mount shares fine via AFP or SMB, Windows 7 can mount shares fine if local Lion Server user, none can mount shares if trying as OD users. You're the only person I've heard or seen post here who has mad it work.

Aug 9, 2011 7:00 PM in response to pvcooper

@pvcooper and aorlinksy:


It's just. not. that. simple.


http://forums.appleinsider.com/showthread.php?s=&threadid=121142


Key point being: "the Samba team has moved active development of the project to the more strict GPLv3 license, which prevents Apple from realistically using the software commercially"


Bash Jobs or the Apple engineers all you want, they made a decision for very real reasons, and probably would have been far happier to be able to offer the latest Samba instead, less work for Apple's OS X Server team :-)


So they had to go with something else.


The lack of support for NT-style domains is understandable. I wish it were otherwise too, but at this point it would be hard to envision moving anyone *away* from Windows 2003 server (for example) to OS X Server, and keeping XP machines for the long haul.


If you have access to any pre-lion hardware (ie: Lion not required, as with the latest Minis), continue to use it with 10.6 server and plan accordingly.

Windows computers can not access smb-shares in Lion

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