I wasnt sure where to put this, but i think this is the best place for it.
Ok, Im going to start off with this before i get started
SMB= Protocol (Server message block)
Samba= Client that uses SMB protocol to connect and share with window systems
I know of a few people who were having troubles setting up SMB shares from a linux system. So after I figured it out, I thought I would make a tutorial on setting one up. Ive looked all over this forum, but couldnt really find anything on setting one up from a Linux system. To let you know before hand I am running Redhat9 with no GUI. I also have webmin installed to make things easier. To use webmin you must have a webserver up and running. I would highly recommend using webmin. Get it by typing this command in the konsol...
wget
http://prdownloads.sourceforge.net/webadmi...50-1.noarch.rpmthen install with...
rpm -U webmin-1.150-1.noarch.rpm
you can now go to http:///www."YOURDOMAINorIP".com:10000
First things first see if you have samba already set up and enabled on your linux box. Type in the folling command in the linux konsole
/etc/init.d/smb start
-If you dont have samba installed then it will say bash file not found.
-If you do have samba installed then you will see it starting with a green [OK] you should then try the following....
Type in your servers IP adress in the browser bar to see if any shares come up. For example mine is...
\\192.168.1.103
If a shared folder shows up it may just show a home folder or it may ask for a user name and password.
If nothing shows up go to step 1
If it ask for a user name and password go to step 2
Step 1 INSTALLING SAMBATo install samba do ONE of the folling steps...
a. Install samba from your sytem install disc (which is hard with no GUI)
b. Install all the RPM's in
this directory c. Install samba by using the following commands
wget
http://www.emblym.com/uploads/Samba%20Pack...-7.9.0.i386.rpm rpm -U samba-2.2.7a-7.9.0.i386.rpm
wget
http://www.emblym.com/uploads/Samba%20Pack...-7.9.0.i386.rpm rpm -U samba-client-2.2.7a-7.9.0.i386.rpm
wget
http://www.emblym.com/uploads/Samba%20Pack...-7.9.0.i386.rpm rpm -U samba-common-2.2.7a-7.9.0.i386.rpm
After installing samba you must configure it. So on to step 2...
Step 2 CONFIGURING SAMBAYour samba config file is located at /etc/samba/smb.conf
You are more than welcome to take my config and use it as an example or just replace yours with mine. Always make sure you make a backup of the original. Here is my config file. You can copy paste it and save it as smb.conf