LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Redhat EL4 server's NetBIOS name wont resolve from any windows machine... (http://www.linuxquestions.org/questions/linux-networking-3/redhat-el4-servers-netbios-name-wont-resolve-from-any-windows-machine-514645/)

evank 12-29-2006 01:19 PM

Redhat EL4 server's NetBIOS name wont resolve from any windows machine...
 
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!

win32sux 12-30-2006 07:14 AM

have you checked to make sure your firewall isn't blocking the NetBIOS Name Service (Port 137/UDP)??

evank 12-30-2006 01:03 PM

i fixed it, though I'm not sure how...

we were having trouble with one of our DNS servers, and switched to a different one in /etc/resolv.conf, and for some reason that seems to have fixed it, though i have no clue as to how.


All times are GMT -5. The time now is 06:16 AM.