RE: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Johan Hendriks
What does your ifconfig line read from /etc/rc.conf (the alias line) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Nejc Škoberne
Hey, What does your ifconfig line read from /etc/rc.conf (the alias line) ifconfig_rl0=192.168.15.198 netmask 255.255.255.0 ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.0 defaultrouter=192.168.15.1 jail_enable=YES jail_sysvipc_allow=YES jail_socket_unixiproute_only=NO

Re: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Nejc Škoberne
Hey, ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.0 the mask of an alias ipadres needs to be 32 bits. I do not now if this solves your problem but it needs to be 32 bits. ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.255 I tried with 24 bits - it doesn't work one way or

RE: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Johan Hendriks
Hey, ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.0 the mask of an alias ipadres needs to be 32 bits. I do not now if this solves your problem but it needs to be 32 bits. ifconfig_rl0_alias0=192.168.15.201 netmask 255.255.255.255 Can you explain why it needs to be 32 bits? I

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Nejc Škoberne
Hey, OK.. if it is running inside your jail it doesnt respond to WINS broadcasts (request for NETBIOS Names.. oi, who is Machine on this subnet???), if it is not running in your jail, it is. I wouldn't say WINS broadcasts but NetBIOS broadcasts, yes. Machine is jailed Samba 3 server - I want

RE: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Johan Hendriks
OK.. if it is running inside your jail it doesnt respond to WINS broadcasts (request for NETBIOS Names.. oi, who is Machine on this subnet???), if it is not running in your jail, it is. I wouldn't say WINS broadcasts but NetBIOS broadcasts, yes. Machine is jailed Samba 3 server - I want it to

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Nejc Škoberne
Hi, This is nota n issue with samba it is a name resolve issue. Then why is Samba replying to NetBIOS broadcasts very nicely when I put it outside jail (with the same configuration)? As far as I understand Samba also provides resolving - NetBIOS resolving via its nmbd. If you add in

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Nejc Škoberne
Hi, I'm not sending this message to the list as I've not been following the discussion; I just skimmed thru it. I hope you don't mind that I sent it to the list too. I would check too things, a) a firewall (sorry if this has been talked about, as I said I didn't read it all) or b) enable

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread P S Clermont
Nejc Škoberne wrote: Hi, I'm not sending this message to the list as I've not been following the discussion; I just skimmed thru it. I hope you don't mind that I sent it to the list too. I would check too things, a) a firewall (sorry if this has been talked about, as I said I didn't read

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Gelsema, P (Patrick)
On Wed, April 23, 2008 18:16, Nejc Å koberne wrote: Hi, This is nota n issue with samba it is a name resolve issue. Then why is Samba replying to NetBIOS broadcasts very nicely when I put it outside jail (with the same configuration)? As far as I understand Samba also provides resolving -

Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Nejc Škoberne
Hey Johan, 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 I have done so - I still can't do smbclient //machine from another box to the jailed Samba. If I put the Samba out of the jail (same version, same config) it works as it

Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Gelsema, P (Patrick)
On Tue, April 22, 2008 17:33, Nejc ©koberne wrote: Hey Johan, 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 I have done so - I still can't do smbclient //machine from another box to the jailed Samba. If I put the Samba out of

Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Nejc Škoberne
Hey Johan, Well i use ezjail for my jails, i leave everything else standard, but have the same sysctl value's This is my smb.conf (it is a fileserver as member of a domain for my domain). [global] ... wins server = hz2-serv.mydomain.local This is why it works for you. You use external

Re: FreeBSD 7.0 jail and Samba 3

2008-04-17 Thread Nejc Škoberne
Hey again, I am trying to get latest Samba running under FreeBSD 7.0 jail environment. I happen to have problems with visibility of the Samba server on the network - I cannot connect to it using its NetBIOS name. To be able to run nmbd, I have to use the interfaces parameter in smb.conf like

RE: FreeBSD 7.0 jail and Samba 3

2008-04-17 Thread Johan Hendriks
I am trying to get latest Samba running under FreeBSD 7.0 jail environment. I happen to have problems with visibility of the Samba server on the network - I cannot connect to it using its NetBIOS name. To be able to run nmbd, I have to use the interfaces parameter in smb.conf like