At a minimum I would add two lines.
Do not think for a moment you can fix all the network problems by adding these two lines. Samba config is very complex, you can thank microbucks for that.
At this point I don't have any idea what windoze systems you are trying to connect to your samba server. Each version of windbloze has its own set of problems.
To get this running better, you need to start with basic network configuration. Any server should have a fixed IP address, not one assigned by DHCP, or in windoze speak, 'Automatic'. How have you set the server up?
The 'hosts' file. Have you got correctly updated hosts files on every system you want using file sharing? If not, or you have no idea what I asked, the answer is no. You need to fix that. On a linux system, the file is located at /etc/hosts. This file is the first place the system goes to resolve IP addresses. It is a plain text file on both windoze and linux. Here is a sample from mine.
192.168.1.22 Presto presto
192.168.1.23 snail Snail
The first line is the same on all machines, so you can connect to your tcp/ip stack.
The next two lines are form other machines on my network. The IP address; The name I use to connect to it, and an alias name.
If you are running DHCP on your windoze machines, you need to go into your router config, and for each MAC address, assign which IP address gets served to that MAC address. Almost all home routers can do this. You get the MAC address ( the real hardware address of the lan card that is burned in hardware ) in linux by running the command 'ifconfg'.
In windoze, you can try 'ipconfig'; not sure if that works on all versions, or not. Its in the Control Panel; somewhere.
Once the file is built, you can copy it to each system in the network. The only thing you need to change it the external IP address entry for the system you copy it to.
To test this, you use the ping command. You have to be able to ping from any system, to any system, using the names you assign in the hosts file. You may have to boot windoze in order to make the system read the hosts file.
On XP, the hosts file is located in C:/WINDOWS/system32/drivers/etc/hosts. You may have to use the search facility to find it on other versions.
The workgroup name on each system should match. Have you checked that?
MAC addresses on windoze. I tested 'ipconfig /all' and it shows the mac address on XP; also know as "Physical Address". Not sure what works on other versions of windbloze.
See how far you can get.