In linux PC in etc/samba/lmhost make a list of hosts and their local ip example
127.0.0.1 localhost
192.168.5.2 250GXP
192.168.5.3 24GXP
192.168.5.4 PCLOSMAIN
192.168.5.5 LAPLIN12G
This is so the workgroup can ID the hosts name to a IP address - in vista or 7 there is something like this as well. On xp naming the PC seemed to update the host automatically.
also find this in samba.config and make sure the range of local ip is allowed and the netbios name i.e. host is there for this and each Linux box needs it own host name.
netbios name = PClosMain
hosts allow = 192.168.5. 127.0.
Make sure firewall are checked for smb or none no firewall and that the windows fire wall check file and printer sharing.
I have also found that using smb4k on linux made it easier for me to sort it.
On each PC make the shares - on linux after making shares check the bottom of etc/samba/samba.config and you should see example
[pdf-gen]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
#print command = /usr/share/samba/scripts/print-pdf file path win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
[printers]
path = /var/spool/samba
comment = All Printers
browseable = no
printable = yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
guest ok = yes
writable = no
create mode = 0700
use client driver = yes
[ShareDesk]
path = /home/pupthai/ShareDesk
comment = PCLOSMAIN
browseable = yes
hide dot files = no
So I will have group HINPRIGIE this host PCLOSMAIN with a share ShareDesk and all the other printer etc. each linux PC would have its own stuff in this part.
The windows PC if the share is active and the workgroup is in common and it is not blocked by firewall then they normally show up in smb4k pretty easy and you can mount them. then smbtree will print them out. when smb4k scans it will show the woorkgroup check on that it shows the hosts info click on each share and mount them even the local share
Keep poking away at this and they start working.
