[Samba] why is my "nmbd" confused about network interfaces?

Linda Walsh samba at tlinx.org
Tue Jun 9 20:18:06 GMT 2009


The only thing related to 'addresses' in my
/etc/samba/smb.conf file is a "hosts allow":
         hosts allow = 192.168.3.0/24 127.1

I'm going to ignore the 'local hosts case, as if I solve the other,
the localhost case may get solved by inference.

I thought the 'hosts allow' would allow any host on the
local 192.168.3.0/24 subnet.

The hosts have no problems that I'm aware of, but 'nmbd'
is issuing confused messages in the log.

Upon starting it tries (and successfully) becomes the
For the local subnet, it starts out trying to become master on subnet
'192.168.3.1', but isn't the subnet 192.168.3.0?

The it gets further errors and eventually fails:

nmbd:  become_domain_master_browser_bcast:
nmbd:  Attempting to become domain master browser on workgroup BLISS \
        on subnet 192.168.3.1
nmbd: nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(304)
nmbd:  become_domain_master_browser_bcast: querying subnet 192.168.3.1 \
        for domain master browser on workgroup BLISS
nmbd:  libsmb/nmblib.c:send_udp(839)
nmbd:   Packet send failed to 192.168.3.255(137) ERRNO=Invalid argument
nmbd:  nmbd/nmbd_packets.c:send_netbios_packet(160)
nmbd:  libsmb/nmblib.c:send_udp(839)
nmbd:   Packet send failed to 192.168.3.255(137) ERRNO=Invalid argument
nmbd:  nmbd/nmbd_packets.c:send_netbios_packet(160)
nmbd:   send_netbios_packet: send_packet() to IP 192.168.3.255 port 137 failed
nmbd:  nmbd/nmbd_namequery.c:query_name(244)
nmbd:  query_name: Failed to send packet trying to query name BLISS<1d>

My local 'ifconfig for eth0' shows my inet params as:
           inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0

So it would 'seem' to be in order.

Any ideas why I am getting this repetitive failure?

If nmbd successfully becomes the master-browser, will it stop retrying
every 5 minutes (*crossing fingers*)?

Thanks,
Linda




More information about the samba mailing list