How to Map a Network Drive (from a Windows Share) in Linux
- Create a directory within the Linux file-system. Depending on whether the directory is in the user’s area, this can be done either in the GUI (the same way you would create a folder for Windows, more-or-less) or by going into the terminal and typing “sudo mkdir /path/name”. Then type password.
- Install an application called WINBIND. Go into a repository and work your way all the way down to “winbind”. Note that typing a search may or may not find it, but it is definitely there. Click on the box to install and click “Yes” and “Okay” as many tims as required.
- Update something called the NSSWITCH file by typing “sudo nano /etc/nsswitch.conf” at the Terminal and then, in the document that opens, put the word “wins” prior to the word “dns” on the “hosts:” line. Save document and exit.
- Go into the terminal and type “sudo smbmount //servername/sharename /mountdirectory -o username=username,password=password”. You may have to type in your password again.
- Update something called the FSTAB. From the terminal type “sudo gedit /etc/fstab” (password may be required). Create an entry by typing “//servername/sharename /mountdirectory smbfs username=userename,password=password 0 0″
- For each additional share that you would like to map, repeat steps 4 and 5.
How to map a Windows network drive in Windows 2000 and XP:
- Find drive and share in Network Neighborhood
- Right-click folder, click “Map network drive”, and assign drive letter.
- Repeat steps for each drive that you wish to map.