LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-12-2018, 02:53 PM   #1
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Samba: Unable to use WINS resolution on multi-homed W7 client


I know these are outdated systems, but if you have to find an error you have to find an error.

Problem was the W7 client could not join the SAMBA domain. Samba acting as PDC. More detailed, I could map a network drive by IP address: \\192.168.110.117\share, but I could not use the NetBIOS name: \\SERVER1\share.

NetBIOS over IP was enabled in Windows. On the Samba server itself resolution was working:
Code:
nmblookup -U '192.168.110.117' -R 'SERVER1'
This worked also from another Linux host. But not in Windows. In Windows the diagnostic command is:
Code:
nbtstat -A 192.168.110.117
Which produced a 'server not found error'

It turned out that the Windows machines had 2 additional IP4 addresses. Both private: 192.168.14.104 and 192.168.120.104. The primary address was (manually set) 192.168.110.104. And the default gw 192.168.110.12.

Anyway, running tcpdump on the Samba server revealed that Samba always tried to answer to 192.168.14.104. No idea why this address was set as source address, but the Samba server could not reach 192.168.14.xxx

After removing the other IP addresses name resolution worked fine. Including joining the domain.

Very weird.

jlinkels
 
Old 04-14-2018, 08:51 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
!0 reply
 
  


Reply



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
CentOS multi-homed: samba not work as PDC rotondo Linux - Server 1 07-21-2010 10:01 PM
Samba WINS configuration - Server to client fails to connect nicksvt Linux - Server 1 12-16-2009 05:12 AM
i have problem with samba(nmbd). multi-homed host. sodoojin Linux - Newbie 0 07-09-2008 02:31 AM
Multi homed gateway nukenstien Linux - Networking 4 02-10-2005 10:07 AM
Samba and Wins resolution Problem blubbfish Linux - Networking 0 02-20-2004 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:14 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