When Windows 10 was released, it seemingly broke the ability to easily connect to Linux Samba shares. Considering how many businesses rely on Samba for the sharing of folders, this was a bad move on the part of Microsoft. Fortunately, the ability to connect to Samba shares wasn't actually removed from the Windows platform, it was merely tucked a bit out of sight.
I want to walk you through the process of making that connection between Windows 10 and your Linux shares.
I will assume you have both Windows 10 installed on a machine (or multiple machines) and a Samba share at the ready from your data center. With that said, let's connect.
Connecting to your server
Open up File Explorer and then right-click on This PC (in the left pane). From the resulting context menu, select Add a network location (Figure A).
A new wizard will open, one that will walk you through the process of creating a shortcut for a new network location within File Explorer. Click Next in the Welcome window. In the resulting screen (Figure B), click Choose a custom network location (the only option) and then click Next.
Next you must enter the IP address of your Samba server (Figure C) in the form of //SERVER_IP/SHARE (Where SERVER_IP is the IP address of your Samba server and SHARE is the name of the share you want to add).
Click Next to continue on. In the next window (Figure D), type a name for the network location. A default name will be picked up by the Samba server, you can either use that or enter a custom name that makes it easier for you to remember either where the share is or what is housed within the share.
Click Next to reach the final screen of the wizard. Here (Figure E) click Finish and the share is now ready for you to use.
And that is all there is to connecting a Windows 10 machine to a Samba share in your data center. It's not quite as easy as it once was, but the feature is, in fact, still there.
After hearing a number of people coming to me asking why Microsoft had to break the Windows-Samba connection, I'm happy to tell you that it is not, in fact, broken. Although it's a bit hidden away, you can still make that much needed desktop to data center connection.
- How to protect Samba from the SambaCry exploit (TechRepublic)
- How to set up Samba shares for groups (TechRepublic)
- How to configure Ubuntu Linux server as a Domain Controller with samba-tool (TechRepublic)
- Ethical Hacking Using Kali Linux From A to Z (TechRepublic Academy)
- Linux server attack: Patch Samba or risk cryptocurrency mining malware (ZDNet)
Jack Wallen is an award-winning writer for TechRepublic and Linux.com. He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website jackwallen.com.