[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
server.

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...

[global]
 
  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
66.75.85.190) 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]
nmbd/nmbd_become_dmb.c:become_domain_master_query_success(225) 
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 66.75.85.190 for workgroup HOME registered on subnet
UNICAST_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)"
samba-common-3.0.9-1.3E.1
pam_smb-1.1.7-1
samba-3.0.9-1.3E.1
redhat-config-samba-1.0.16-2
samba-client-3.0.9-1.3E.1

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
Brad
-- 
Bradley W. Olin                          "do or do not, there is no try"
http://www.bwo1.com                                                 Yoda


More information about the samba mailing list