-   Linux - Newbie (
-   -   how to access a Linux drive from Windows 2k (

euangel 07-11-2003 12:34 AM

how to access a Linux drive from Windows 2k
Okay everyone,
I'm sure the answer to this is out there, but I can't seem to find it. I've been able to find plenty of threads on how to mount a Windows drive in Linux, which I have done successfully using LinNeigborhood in Mandrake 9.1. My question is, how can I make my Linux drive available to be shared in Windows. When I browse to Network Neighborhood in Windows 2k, my Linux box doesn't show up at all...

Dark_Helmet 07-11-2003 12:41 AM

You'll need to read up on Samba

There are also MANY threads that exist on the subject here. Use the search feature, and you'll probably find much more than you could ever possibly want.

Shade 07-11-2003 01:28 AM

Yup, Samba is the key.

You probably already have samba installed. I believe it comes installed on most distributions.

So take a look at your smb.conf file in /etc/ or /etc/samba/

Then go to and check out the Samba how-to.

There's lots of easy info out there, it's not too much of a hairpuller... There's even a graphical config tool called Swat to help you out.


german 07-11-2003 08:02 AM

This smb.conf should allow you to access your home dir, but any .exe files you move over will disappear, as it filters file types commonly associated with virii (the "veto files" line). You will need to run smbpasswd for each user you want to access the computer over NetBIOS. It is a quite simple tool, man smbpasswd should tell you all you need to know. After that you must start smbd and nmbd, which on RedHat (and perhaps Mandrake as well) is done with:

# /etc/rc.d/init.d/smb start

# start /etc/samba/smb.conf
workgroup = HOME
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
hosts allow =
hosts deny = ALL
hide unreadable = yes
hide dot files = yes
browseable = yes
veto files = /*.exe/*.dll/*.com/*.vbs/*.{*}/

guest ok = no
read only = yes
write list = root jamin
# end smb.conf



All times are GMT -5. The time now is 04:22 PM.