Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-29-2012, 08:07 AM   #1
LQ Newbie
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
How do I put my shared folder as a standard network drive, visible to windows client?

Hi everyone, I am doing a project for college and I need your guys help.
I've been looking everywhere and I am seeing multiple scripts and commands.
However, everything I see on internet doesn't show me where to put it in so I am still having questions!

I need to connect my shared folder named "Home" (homedirectory)to a standard drive letter visible to client windows xp connected to the username.

Right now my smb.conf is configured as followed:
comment = Home Directories
path = /home/%u/
browseable = no
writable = yes

So if user test would log in, the path would be /home/test/
I would like to map the share to the H: drive letter..

How do I do this?
Help would really be appreciated!

Old 10-29-2012, 09:49 AM   #2
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
First make a try to access the network drive from Windows run prompt as follow:
Start > Run > \\<full-hostname-of-Unix-system>\<dir> > OK
For example, the netwrok path should be like this:
Or, if other system is in different domain then use a tilde symbol before <dir> as:
It will open the directory i.e user's home directory which he want to access through Windows. If it works, then be assured that samba mapping is OK. So then just open My computer (or right click on My computer icon on desktop) > Select "Map network drive" option > Then in "Drive" option select letter you want to assign to it i.e. X, Y, Z, H.. anything, and in "Folder" option enter the full path of mapped directory (that is, \\\test) and click OK. After doing this you will find a network drive mapped inside your My computer with other C, D drives.
So just try it let's know if it help you! Good luck..
Old 10-29-2012, 09:49 AM   #3
LQ 5k Club
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: OSX Sierra
Posts: 8,570
Blog Entries: 14

Rep: Reputation: Disabled
My Computer > right click > map network drive> \\net\sharename
Old 10-29-2012, 10:18 AM   #4
LQ Newbie
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Shivaa & Habitual:
I just tried this, and it worked, i got a username's homefolder linked to the H: drive.
The only problem is that if I need this to be done, I need every user to log in and do the same thing because the home folders are scripted as /home/(username) right?
I need a logon script for the windows client I think.

The method you described, is that permanent and for every user using the folder shown? or is this per user?

Many thanks for the response
Old 10-29-2012, 10:40 AM   #5
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Thanks. I think there's no any script needed.
In order to access every home directory on a single PC, or on different PCs, you (or user itself) will need to map it seperately.
It's not a big task, as you just need to change the directory name for every user in the network drive path, assign a letter (user different drive letter on a same PC obviously) to it and... that's it! You'll get a new network drive mapped in your My computer.
Second, yes it will be permanant, until you choose to right click on the drive (G or H whatever it is) and select "Disconnect" it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem in Accessing folder from windows xp to fedora's shared folder uk.engr Linux - Newbie 4 07-21-2012 02:39 AM
Move Thunderbird Local Folder to Windows Samba Network Drive Linux.Girl Linux - General 4 12-19-2011 07:38 AM
make linux folder visible on windows network ? tonj Linux - Software 5 12-10-2009 04:40 PM
Mount external hard drive's folder as partition visible in df WojtekO Linux - Newbie 7 03-11-2009 09:33 PM
Where to put shared music folder mikieboy Linux - Desktop 3 07-12-2007 08:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration