[Samba] nmbd won't ignore an interface

Brad Olin bwo at bwo1.com
Mon Apr 18 23:25:04 GMT 2005

This is a config issue, at least I hope so.  I have a wbel v3 box (same
as rhel v3 box) with 2 nics and it acts as both my firewall and my samba

eth0: WAN (dhclient to  my cable modem provider)
eth1: LAN (dhcpd    for my private network)

The relevant part of my /etc/samba/smb.conf looks like this...

  interfaces = eth1 lo
  bind interfaces only = yes
  os level = 99
  domain master = yes
  preferred master = yes
  netbios name = WBEL
  wins support = yes

The problem is, nmbd is listening/chatting to eth0 (currently it's IP about every 5 seconds and then flooding my logs with
entries like this...

Apr 18 14:57:31 wbel nmbd[27630]: [2005/04/18 14:57:31, 0]
Apr 18 14:57:31 wbel nmbd[27630]:   become_domain_master_query_success: 
Apr 18 14:57:31 wbel nmbd[27630]:   There is already a domain master
browser at IP for workgroup HOME registered on subnet

Some info about the software I'm running...

[root at wbel tmp]# uname -a
Linux wbel.bwo1.com 2.4.21-27.0.2.EL #1 Wed Jan 19 17:00:12 EST 2005
i686 athlon i386 GNU/Linux

[root at wbel tmp]# rpm -qa | egrep "(smb|samba)"

And the question is...  How do I configure nmbd to completely ignore
eth0?  I don't like that it listens to that nic.  Maybe it's not a
security issue, but why waist my resources logging things that I don't
need or want.

Thanks in advance
Bradley W. Olin                          "do or do not, there is no try"
http://www.bwo1.com                                                 Yoda

More information about the samba mailing list