Opened 10 years ago
Closed 7 years ago
#252 closed defect (fixed)
nmbd : bind failed on port 137
Reported by: | guzzi | Owned by: | Herwig Bauernfeind |
---|---|---|---|
Priority: | minor | Milestone: | Samba Server for eCS (OS/2) 1.3.x |
Component: | Samba Server WarpIN archive | Version: | Server 3.5.x |
Keywords: | Cc: |
Description
After upgrading from 3.3.16 to 3-5-9 plus 3.5.11 I got the following error in nmbd.log:
added interface lan0 ip=192.168.178.20 bcast=192.168.178.255 netmask=255.255.255.0
[2015/04/03 19:19:10.249000, 0] lib/util_sock.c:880(open_socket_in)
bind failed on port 137 socket_addr = 192.168.178.255. Error = Can't assign requested address
[2015/04/03 19:19:10.249000, 0] nmbd/nmbd_subnetdb.c:126(make_subnet)
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 192.168.178.255 for port 137.
Error was Can't assign requested address [2015/04/03 19:19:10.249000, 0] nmbd/nmbd.c:981(main)
ERROR: Failed when creating subnet lists. Exiting.
Adding the following line to smb.conf fixed this:
nmbd bind explicit broadcast = no
Change History (6)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Shouldn't the .wpi check for this line in samba.cfg? Or at least a mention in the read.me or wiki. When upgrading from an older version this setting will be missing.
comment:3 by , 10 years ago
Component: | Unknown → Samba Server WarpIN archive |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:4 by , 9 years ago
Milestone: | → Samba Server for eCS (OS/2) 1.3.x |
---|
comment:5 by , 8 years ago
The latest and greatest Samba has this same problem. The default configuration does -not- have the neccessary parameter.
It again needs the following line to be added to smb.conf: nmbd bind explicit broadcast = no
Steps to reproduce: Reset to default configuration in simple samba configuration centre.
comment:6 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
afair this setting is needed with 3.5 and up. At least I have this as well