This week I finally made the switch to Mac OS X 10.7 Lion on my Apple Mac Pro computer. One of the first roadblocks I hit was changes to Lion’s Samba SMB file sharing protocol.
For further reading, there is an SMB related discussion on the Apple tech support thread:
Windows computers can not access smb-shares in Lion
Here’s my solution for connecting the Windows 7 and Mac OS X systems together using SMB.
When I connect a Windows 7 PC to a Mac OS X Lion file server using SAMBA, the system expects the computer name (domain) to be written before the login name.
To start with, we need to find out the Mac systems “Computer Name” in the Sharing System Preferences window.
Open the System Preferences icon in your dock.
Click on the Sharing tab. Make a note of the Mac’s computer name. In this example my computer is called Mac-Pro.
Now let’s go back to the Windows 7 system.
Use the start bar to open the “Computer” window. Let’s connect the Windows computer to the Macintosh’s SMB share. Click the “Map Network Drive” button.
The Map Network Drive dialogue will allow us to connect a shared folder on another system. Let’s connect to a hard drive called “Personal” on the “Mac-Pro” system to the Windows drive letter “Z”.
Set the folder to:
If we enable the “Reconnect at login” checkbox the share will be mounted automatically when the Windows 7 computer is turned on.
Enable the “Connect using different credentials” checkbox to allow us to login to the Mac computer using a different username.
Click the Finish button to connect.
In the Windows security dialog the domain is listed as “HP”. To connect to the Mac OS X 10.7 system we need to switch the domain name to the name of the Mac Pro system.
If the Lion file server’s computer name is “Mac-Pro” and the user account name is “pete” you would login using the user name “Mac-Pro\pete“.
You also need to type in the password. If you want Windows to remember the login details, enable the “Remember my credentials” checkbox.
Click the OK button to continue.
A progress dialog will appear and if the connection was successful the SMB share will be listed in the computer window under the section titled “Network location”.
Tip: If you have issues connecting to the Mac OS X Lion system you can check the error messages in Kerberos log file located on the Mac at: