[SAMBA4] Failed to bind to 255.255.255.255:138

Stefan (metze) Metzmacher metze at samba.org
Mon Jan 9 13:04:19 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oleg Sharoiko schrieb:
> Hello!
> 
> Samba4 (I've checked r12785 and some earlier revisions) gives me an error 
> (FreeBSD 6.0):
> 
> Failed to bind to 255.255.255.255:138 - NT_STATUS_ADDRESS_NOT_ASSOCIATED
> Failed to setup dgram listen on 0.0.0.0 - NT_STATUS_ADDRESS_NOT_ASSOCIATED
> task_server_terminate: [nbtd failed to setup interfaces]
> 
> This happens if 'bind interfaces only' is not set, when nbtd_dgram_setup() 
> is called for pseudo interface 0.0.0.0. In this case nbtd_dgram_setup() 
> tries to bind to 255.255.255.255, which is a broadcast address of that 
> pseudo interface. Shouldn't nbtd_dgram_setup() have a check to not bind to 
> broadcast address of pseudo interface similar to the check implemented in 
> nbtd_add_socket() ?

yep, thanks! I'll fix that
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDwl9Sm70gjA5TCD8RAohHAKCSa7l1gnK8tLlZlIlkiOgzNBTN2QCdF8/8
bmACGrzBSKGIZ0MyT4Gcehs=
=ijdO
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list