We have an existing SMB network consisting of a couple win2k3 servers and 20-30 winxp home and pro workstations. I just set up samba on a Redhat (RHEL4) server, and am having issues with NetBIOS name resolution.
From said linux server, I can use nmblookup to resolve itself along with any other windows machines just fine:
Code:
[root@RHEL ~]# nmblookup RHEL
querying RHEL on 192.168.255.255
192.168.0.105 RHEL<00>
[root@RHEL ~]# nmblookup WIN2K3_PRIMARY
querying WIN2K3_PRIMARY on 192.168.255.255
192.168.0.100 WIN2K3_PRIMARY<00>
[root@RHEL ~]# nmblookup WIN2K3_SECONDARY
querying WIN2K3_SECONDARY on 192.168.255.255
192.168.0.101 WIN2K3_SECONDARY<00>
192.168.0.101 WIN2K3_SECONDARY<00>
[root@RHEL ~]# nmblookup WINXPPRO_FRONTDESK
querying WINXPPRO_FRONTDESK on 192.168.255.255
192.168.0.200 WINXPPRO_FRONTDESK<00>
192.168.0.200 WINXPPRO_FRONTDESK<00>
However, from any windows machine, i can't resolve the linux server (using the UNC path
\\RHEL or the
net view command), but I can still get to it and browse its shares directly by IP (using the UNC path
\\192.168.0.105). so I've obviously misconfigured something that keeps it from resolving, I just have no clue what. My smb.conf follows:
Code:
[global]
workgroup = INTERNAL
netbios name = RHEL
server string = Redhat Enterprise Linux 4 via Samba
hosts allow = 192.168. 127.
hosts deny = ALL
log file = /var/log/samba/%m-%U.log
max log size = 500
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote announce = 192.168.0.255
local master = no
os level = 33
domain master = no
preferred master = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
username map = /etc/samba/smbusers
winbind use default domain = yes
browseable = yes
# test share, will remove later
[tmp]
comment = Temporary file space
path = /tmp
writeable = no
guest ok = yes
any ideas on what the problem is or how to fix it? i'd appreciate any help, thanks for taking the time to read all this!