1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

As nobody really objected to this patch, I opted to create facts :-)

This uses 'socket address' as the source address for nmbd. This way we
can again synchronize with the DMB if we have 'bind interfaces only'
to a virtual interface.

I'd love to see this in 2.2.9, but that is up to jerry or jra.

Volker
This commit is contained in:
Volker Lendecke 0001-01-01 00:00:00 +00:00
parent 759ba40b12
commit fe637c690b

View File

@ -547,7 +547,9 @@ static BOOL open_sockets(BOOL isdaemon, int port)
*/ */
if ( isdaemon ) if ( isdaemon )
ClientNMB = open_socket_in(SOCK_DGRAM, port,0,0,True); ClientNMB = open_socket_in(SOCK_DGRAM, port,
interpret_addr(lp_socket_address()),
0,True);
else else
ClientNMB = 0; ClientNMB = 0;