Date: Thu, 17 Apr 2008 12:46:32 +0200 From: "Johan Hendriks" <Johan@double-l.nl> To: =?iso-8859-2?Q?Nejc_=A9koberne?= <nejc@skoberne.net> Cc: freebsd-questions@freebsd.org Subject: RE: FreeBSD 7.0 jail and Samba 3 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DDDB1@w2003s01.double-l.local> References: <47F54BB3.1080801@skoberne.net> <48071F0E.2020002@skoberne.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>> I am trying to get latest Samba running under FreeBSD 7.0 jail=20 >> environment. I happen >> to have problems with "visibility" of the Samba server on the network = -=20 >> I cannot connect >> to it using its NetBIOS name. To be able to run nmbd, I have to use = the=20 >> "interfaces" >> parameter in smb.conf like this: >>=20 >> interfaces =3D 192.168.1.2/24 127.0.0.1 >>=20 >> If I don't set this, nmbd fails to run (it says it cannot find=20 >> interfaces). However, if >> I try the identical configuration on a "non-jailed" Samba (on a = FreeBSD=20 >> 6.2 though) it >> runs seamlessly - I can connect to it from another box by running=20 >> "smbclient //server/share". >>=20 >> Is there any way to make NetBIOS work for jailed Samba server on = FreeBSD=20 >> 7.0? >Is there really nobody who could help me out here? >Thanks, >Nejc I think you will need to remove 127.0.0.1 Just use 192.168.1.2/24 There is no 127.0.0.1 on a jailed system This is the output of ifconfig on my jail server bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 options=3D9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 00:19:bb:d1:66:06 inet 192.168.100.200 netmask 0xffffff00 broadcast = 192.168.100.255 inet 192.168.100.201 netmask 0xffffffff broadcast = 192.168.100.201 inet 192.168.100.202 netmask 0xffffffff broadcast = 192.168.100.202 inet 192.168.100.203 netmask 0xffffffff broadcast = 192.168.100.203 inet 192.168.100.204 netmask 0xffffffff broadcast = 192.168.100.204 media: Ethernet autoselect (100baseTX <full-duplex>) status: active pflog0: flags=3D0<> metric 0 mtu 33204 pfsync0: flags=3D0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 and here it is from my jailed server bge0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 options=3D9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 00:19:bb:d1:66:06 inet 192.168.100.202 netmask 0xffffffff broadcast = 192.168.100.202 media: Ethernet autoselect (100baseTX <full-duplex>) status: active pflog0: flags=3D0<> metric 0 mtu 33204 pfsync0: flags=3D0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 as you can see the interface lo0 is there but no ip 127.0.0.1 regards, Johan Hendriks Double L Automatisering
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCB5DDDB1>