Briefly, after setting up the Samba shares, I am able to view shared folders on Windows box if I specify the ip address of the remote computer in the address bar of Konqueror, but not if I use a Workgroup name or computer name.
Specifically, I'm trying to add a linux laptop (Mepis 7.0) to my existing home network of 3 Windows boxes. Everything is connected through an SMC7004ABR Barricade router with two laptops (a linux and a Windows) connecting wirelessly through a Linksys Wireless G access point.
NO firewall is enabled on any of the computers. I learned how THAT can make a difference the hard way when I first started trying to get my first two windows boxes to talk to each other.
NO MAC address filtering is enabled. Was "reminded" about that part when I got my second laptop.
All windows boxes are XP Pro with simple file sharing disabled. Samba is currently set up with Security "Share". I briefly changed it to security "User" but all that did was make me enter a password when connecting the the windows box.
Here's the state of things right now. To keep things simple, I'll just describe the interaction between the Linux box and the Windows laptop
- I can ping from back and forth from each box.
- From the Windows box I can view all the computers in the workgroup -- all windows boxes and the linux.
- From the Linux box, I can type "smb:/" in the address bar of Konqueror, which will show an icon for my workgroup (MY_HOUSE). Clicking on MY_HOUSE gives an almost immediate error message stating "Timeout on server my_house". I've noticed that even though the smb.conf config entry for workgroup is "MY_HOUSE" (all caps), the Konqueror icon displays a title of "My_house" (only first letter is cap), while the error message displays the workgroup name as "my_house" (no caps). Have done a global text search through all the files on the laptop and everything seems to be spelled "MY_HOUSE".
- Same thing happens when I use the netbios name of the windows computer in the address bar i.e "smb://windozebox gives the same error message except that it complains that windozebox instead of MY_HOUSE timed out.
- But when use the IP address of the Windoze box (smb://192.168.2.40), success! I can see, navigate through shared folders, open files, edit etc just hunky dory.
I've searched all over the internet and haven't turned up anything about not being able to look at your network by Workgroup or computer name. On e thread mentioned inserting ip addresses and names into the lmhosts file, but gee whiz! That's hard coding and that defeats the whole purpose of having a flexible network! Or am I being picky?
One tactic I ran across mentioned setting wins support = yes in smb.conf on the theory that if the computer name couldn't be found in WINS, the laptop would go looking elsewhere in the DNS. Tried several configurations along this model, but no success.
Am I going to have to set up WINS on one of my Windows boxes to get this work? Was really hoping this Linux stuff would move me away from instead into more Windows settings but if it's gotta be, then its gotta be.
Admittedly, this is certainly not the biggest problem I could run across, but there has to be
someone who's run across this before.
Any help, advice, encouragement, or just plain sympathy will be much appreciated.
=========================================================================
/etc/samba/smb.conf
Code:
;*******************section global*****************
[global]
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
printing = cups
workgroup = MY_HOUSE
server string = %h server (Samba %v)
hosts allow = 192.168.0. 192.168.1. 192.168.2. 192.168.79. 127. 10.0.0. 10.1.1.
socket options = TCP_NODELAY IPTOS_LOWDELAY
log level = 1
dead time = 15
hide unreadable = yes
passdb backend = tdbsam
host msdfs = no
max log size = 1000
map to guest = Bad Password
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
oplocks = no
level2 oplocks = no
acl compatibility = winnt
name resolve order = wins lmhosts host bcast
security = share
;********** wins support = yes
;*******************section Paul*****************
[Shared]
path = /home/foo/Shared
read only = no
browseable = yes
writable = yes
;*******************section Music*****************
[Music]
path = /home/foo/Music
read only = no
;*******************section homes*****************
[homes]
comment = Home Directory
read only = no
;*******************section printers*****************
[printers]
comment = All Printers
path = /tmp
printable = yes
create mask = 0700