LinuxQuestions.org
Help answer threads with 0 replies.
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 06-23-2003, 06:31 AM   #1
dwynter
Member
 
Registered: Jun 2002
Distribution: Centos 4.4
Posts: 82

Rep: Reputation: 15
Samba problem, nmblookup not finding W2K box


I have had a look at the various threads on this. I also used the Samba troubleshooting guide. But have not been able to pull together the solution.

nbstat from my W2K box to Linux box finds the linux nox OK. But nmblookup -A <ip-addr> and nmblookup <netbios-name> do not find the W2K box. The trouble is the troubleshooting guide does not tell you what to do in this case. It assumes I have some knowledge I don't actually possess.

I copied a really simple smb.conf from this thread http://www.linuxquestions.org/questi...threadid=42235 then modified that to suit my various settings. I have the feeling this is not the problem. I have checked my iptables to make sure the various ports for SMB are not blocked and the icmp stuff is allowed.

I checked the log for mnbd and got this:-

Samba name server LINUXBOX is now a local master browser for workgroup WORKGROUP on subnet 10.0.0.1

*****
[2003/06/23 12:30:40, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(359)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.


And checked the samba log for the W2K box and got:-

][2003/06/23 11:39:45, 0] smbd/password.c:authorise_login(872)
authorise_login: rejected invalid user nobody


So I have a lot of debug info but cannot find out what to do with it? I am sure someone will have a simple answer.

Thanks

David
 
Old 06-23-2003, 08:36 AM   #2
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Rep: Reputation: 31
I can't remember if I had this problem with Samba. I do know that after about 5hours of knocking my head I tried the command:

service ipchains stop

and it worked.
 
Old 06-23-2003, 09:49 AM   #3
dwynter
Member
 
Registered: Jun 2002
Distribution: Centos 4.4
Posts: 82

Original Poster
Rep: Reputation: 15
Hi,

I am running kernel 2.4.18 and thus iptables not ipchains. Also like I said, I have checked my iptables script and it is allowing all ports required and icmp stuff so that is not it. Who wants to turn off their firewall anyway?

Regards,

David
 
Old 06-23-2003, 09:56 AM   #4
defa0009
Member
 
Registered: Jun 2003
Posts: 185

Rep: Reputation: 31
I am running kernel 2.4.18-3 and that command was suggested to me and it made my Samba shares accessible. I am behind a router (w/firewall) so stopping the machine's firewall is no big deal I guess.
 
Old 06-23-2003, 10:30 AM   #5
dwynter
Member
 
Registered: Jun 2002
Distribution: Centos 4.4
Posts: 82

Original Poster
Rep: Reputation: 15
Ok now I get what you are saying. I am not running ipchains anyway. I did not think you could run ipchains with iptables so never attempted to do this.

Regards,

David
 
Old 06-24-2003, 02:44 PM   #6
dwynter
Member
 
Registered: Jun 2002
Distribution: Centos 4.4
Posts: 82

Original Poster
Rep: Reputation: 15
Answer, and one step closer

I found that the /etc/host file did not have the entry for my W2K PC in it. Adding this allowed nmblookup to resolve that host, makes sense now. Amazed none of the gurus picked this up.

But have hit another snag. See the post "Samba NT_STATUS_LOGON_FAILURE"

David
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using Samba - conflicts with W2k and XP. Can't see the linux box - strange problem. fireman949 Linux - Networking 1 01-31-2004 07:43 PM
Samba - nmblookup will_k Linux - Networking 3 08-25-2003 01:48 AM
SAMBA bet RH 9 & W2K with Netgear Router - can't see W2K share cevjr Linux - Software 0 07-30-2003 11:44 AM
Samba Prob: nmblookup failure paulmann Linux - Networking 2 06-09-2003 07:17 PM
Samba Printing from w2k client to epson on linux box vance Linux - Networking 0 12-18-2001 05:10 PM

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

All times are GMT -5. The time now is 09:21 AM.

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