LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2006, 12:19 PM   #1
evank
LQ Newbie
 
Registered: Jan 2005
Location: USA
Posts: 20

Rep: Reputation: 0
Question 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!
 
Old 12-30-2006, 06:14 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
have you checked to make sure your firewall isn't blocking the NetBIOS Name Service (Port 137/UDP)??
 
Old 12-30-2006, 12:03 PM   #3
evank
LQ Newbie
 
Registered: Jan 2005
Location: USA
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum repo for redhat EL4 m2azer Red Hat 2 12-10-2006 02:12 PM
RedHat EL4 WS Deployment over a network? gerhardb Linux - Enterprise 1 09-29-2006 04:56 AM
LDAP authentication in Redhat EL4 santhavilas Linux - Networking 1 05-05-2006 09:59 PM
can't ping XP machine using it's netbios name hubabuba Fedora 8 04-30-2005 01:38 PM
Netbios (cannot ping windows box using machine name) murray_linux Linux - Networking 2 02-02-2004 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration