This is due to recent changes in OpenBSD's network stack.

Setting "nmbd bind explicit broadcast = no" in smb.conf is likely
to fix things for a single-homed host but it looks like samba
has a problem with this on a multi-homed host.

Please try it and group-reply back to me and ports@ with details
of how you get on, thanks.


In gmane.os.openbsd.ports, you wrote:
> I'm seeing the nmbd daemon throw some errors in the log at startup and
> then exit. I'm using the April 21 i386 snapshot, and samba-3.5.8p2
> package without any flavors, from ftp5.usa.openbsd.org. The config is
> the default that comes with the package. I started samba with
> /etc/rc.d/samba start.
>
> Here's the /var/log/samba/log.nmbd:
>
> [2011/04/21 16:55:51,  0]
> /usr/obj/i386/samba-3.5.8/samba-3.5.8/source3/nmbd/nmbd.c:857(main)
>   nmbd version 3.5.8 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2010
> [2011/04/21 16:55:51.638652,  0]
> /usr/obj/i386/samba-3.5.8/samba-3.5.8/source3/lib/util_sock.c:880(open_socket_in)
>   bind failed on port 137 socket_addr = 10.0.0.255.
>   Error = Can't assign requested address
> [2011/04/21 16:55:51.639142,  0]
> /usr/obj/i386/samba-3.5.8/samba-3.5.8/source3/nmbd/nmbd_subnetdb.c:118(make_subnet)
>   nmbd_subnetdb:make_subnet()
>     Failed to open nmb bcast socket on interface 10.0.0.255 for port
> 137.  Error was Can't assign requested address
> [2011/04/21 16:55:51.639470,  0]
> /usr/obj/i386/samba-3.5.8/samba-3.5.8/source3/nmbd/nmbd.c:963(main)
>   ERROR: Failed when creating subnet lists. Exiting.
>
>

Reply via email to