Hi,
I use FreeBSD 9.0-RELEASE-p3 with samba36-3.6.5 on my NAS and wanna put my Samba sever in a jail. If I do that and start Samba, I can manually access the Samba shares from other hosts without any problems. There's one issue, though:
My WD TV Live streamer only finds/lists Samba shares broadcasting via nmbd, which doesn't work since I put it in the jail. So I'm looking for a way to allow nmbd broadcasting from inside the jail.
Error message:
The jail gets its IP address from an alias:
/etc/rc.conf part of host
From outside the jail nmbd's broadcasting worked fine, so I think my smb.conf is alright.
I already read these topics:
http://forums.freebsd.org/showthread.php?t=20350
http://forums.freebsd.org/showthread.php?t=19918
But they obviously don't need nmbd to work inside the jail.
Any ideas on how to allow broadcasting or any workarounds (bridge, NAT, ...)?
Best Regards
Danny
I use FreeBSD 9.0-RELEASE-p3 with samba36-3.6.5 on my NAS and wanna put my Samba sever in a jail. If I do that and start Samba, I can manually access the Samba shares from other hosts without any problems. There's one issue, though:
My WD TV Live streamer only finds/lists Samba shares broadcasting via nmbd, which doesn't work since I put it in the jail. So I'm looking for a way to allow nmbd broadcasting from inside the jail.
Error message:
Code:
nmbd/nmbd_subnetdb.c:127(make_subnet)
nmbd_subnetdb:make_subnet()
Failed to open nmb bcast socket on interface 192.168.1.255 for port 137. Error was Can't assign requested address
The jail gets its IP address from an alias:
/etc/rc.conf part of host
Code:
ifconfig_bge0="inet 192.168.1.38 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
# Jail alias
ifconfig_bge0_alias0="inet 192.168.1.39 netmask 255.255.255.0"
From outside the jail nmbd's broadcasting worked fine, so I think my smb.conf is alright.
I already read these topics:
http://forums.freebsd.org/showthread.php?t=20350
http://forums.freebsd.org/showthread.php?t=19918
But they obviously don't need nmbd to work inside the jail.
Any ideas on how to allow broadcasting or any workarounds (bridge, NAT, ...)?
Best Regards
Danny