This is the back bone of the Internet and your Linux machine. You will need to run this to run Samba.
Setting up Samba
You will need to edit your /etc/lmhosts, mine is as follows
lmhosts can be avoided by setting up a wins server
127.0.0.1 localhost #so I can use this name with swat. 192.168.1.1 Primus_Klamath # the server 192.168.1.2 The_ark # the win95 client
Check your /etc/services for
netbios-ns 137/tcp nbns netbios-ns 137/udp nbns netbios-dgm 138/tcp nbdgm netbios-dgm 138/udp nbdgm netbios-ssn 139/tcp nbssn
You will need to add the following to your /etc/services
And the following to your /etc/inetd.conf
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
You will need to restart the inetd process. /etc/rc.d/init.d/inetd restart
Point netscape to http://yourhost:901/ and enter in root and the root password.
You will want to set a few global variables. The hosts allow and hosts deny variables controls what machines are allowed any access. For example 192.168.1.1/24
At home I also had trouble with the "name resolve order" variable. Play with the order it worked for me.
One thing I thought was really neat, although not necessary, was the fact that you can set the "os level" to 65 or up. this puts your Linux box above any NT box in a contest.
Samba Home Page
Linux Documentation Project SMB HOWTO
Don't forget to look at the local docs especially this one...
This document can be found at... http://flat.lilug.org/~odinson/samba.html