Operating System - Linux
1828429 Members
3613 Online
109977 Solutions
New Discussion

Re: Linux-Windows (samba)

 
Tonatiuh
Super Advisor

Linux-Windows (samba)

Red Hat Enterprise Linux 4 and Win2K Server

I want to access a Win folder from my Linux server. I think I can do it through Samba.

1) Is this possible?
2) How can I do it? Anyone that has a step-by-step guide to do this?
5 REPLIES 5
Jeeshan
Honored Contributor

Re: Linux-Windows (samba)

Hi

>>Is this possible?

Yes

>>How can I do it? Anyone that has a step-by-step guide to do this?

You must configure the /etc/samba/smb.conf file. The file has a lot of configuration options and operating environments, so check the Samba Collection Howto available in /usr/share/doc/samba- directory.

You should be aware of the smbstat command and testparm.
a warrior never quits
Huc_1
Honored Contributor

Re: Linux-Windows (samba)

Try following this link here under
http://www.reallylinux.com/docs/sambaserver.shtml

enjoy life

Jean-Pierre Huc
Smile I will feel the difference
Heiner E. Lennackers
Respected Contributor

Re: Linux-Windows (samba)

I am not really sure if i understand you correctly, but it sounds to me that you have a folder on a windows server and you want to mount it on your linux server.
You have to install the smbfs filesystem. Then you can mount it with this command:

mount -t smbfs -o username=/% /// /path/to/mountpoint

you can also add it to the fstab.

HeL
if this makes any sense to you, you have a BIG problem
Wilfred Chau_1
Respected Contributor

Re: Linux-Windows (samba)

a) On your Win box,
Share your folder and give this share a name.
a.1) Create a new folder
a.2) Right click, and then choose "Sharing and Security"
a.3) The "Sharing" tab should be picked, filled out the info and click "ok"

b) On your Linux box, type
b.1) Create a dir
b.2) Type this:
mount -t cifs -o user= ///

e.g.
mount -t cifs -o user=testuser //10.10.10.10/myshare /windowshare


Good luck!!
Jeeshan
Honored Contributor

Re: Linux-Windows (samba)

this is an old thread. i think if you get your answer, please close this thread and assign points
a warrior never quits