Samba mount windows folder
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. 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. 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. Improve this question.
Anagoge Anagoge 1 1 gold badge 6 6 silver badges 7 7 bronze badges. Add a comment. Active Oldest Votes. Improve this answer.
Scott Elblein 1 1 silver badge 11 11 bronze badges. Bob Bob 2, 3 3 gold badges 25 25 silver badges 22 22 bronze badges. In other words: If you use XP, you have to upgrade. Quandary: Yes, I know.
The question was whether there's a solution that doesn't use symbolic links junction points perhaps? This answer is correct in the second part, starting at "If you want to access the network share through a location on your local C: drive". The first part everything before that is not the answer, and does not answer the question as stated. Please remove. Show 3 more comments. I'm not sure I understand I'm also not seeing a way to make mountvol mount network shares the VolumeName param apparently wants a GUID representing a local volume name, not a network share.
Nunya Nunya 4 4 silver badges 10 10 bronze badges. This is kind of close, but it doesn't let me choose what folder to mount the share in. It seems to only allow "mounting" the share under "Network Location" in My Computer. Samba on Linux seems to allow this, so I was hoping that Windows did as well. Although there are multiple approaches to adding a new local user on a Windows machine, for the simplicity of this article I will be using PowerShell.
Launch PowerShell as an administrator and issue following commands:. Now that we have created a new local user account matching the Samba user account, we can log in to Windows with our newly created user account. To access the Samba share from Windows Explorer, start typing the IP address to our share in the search area. I am using the hostname of the Samba server. In my case, it is centos. You can also access the share by using the IP address of the Samba server. You might be prompted to enter the username and password to access the share if you skipped the local user creation process.
If you get prompted for credentials, enter the Samba username and password we created in the previous article. You will need to enter the Samba share path every time you want to access the share. There is a better way to access the share by mapping a drive to Samba share in Windows. Accessing a Samba share on Linux and Windows is easy. With this basic setup, you will be able to access file shares from client machines in your network. With somewhat more configuration, you can deploy Samba shares in a domain environment.
Samba can do more than file share. If you would like to learn more about Samba, read this article about Windows and Linux interoperability. This is a basic set up, but you can do so much more with Samba. Take a skills assessment today. When he is not playing in the CLI, you will find him playing Cricket.
More about me.
0コメント