From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 10:36:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7724C1065678 for ; Tue, 22 Apr 2008 10:36:32 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id D35648FC2E for ; Tue, 22 Apr 2008 10:36:31 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 57835 invoked by uid 80); 22 Apr 2008 10:35:27 -0000 Received: from 203.127.42.92 (SquirrelMail authenticated user gelsemap) by www.superhero.nl with HTTP; Tue, 22 Apr 2008 18:35:27 +0800 (HKT) Message-ID: <60553.203.127.42.92.1208860527.squirrel@www.superhero.nl> In-Reply-To: <480DB0E2.3070202@skoberne.net> References: <47F54BB3.1080801@skoberne.net> <48071F0E.2020002@skoberne.net> <57200BF94E69E54880C9BB1AF714BBCB5DDDB1@w2003s01.double-l.local> <480DB0E2.3070202@skoberne.net> Date: Tue, 22 Apr 2008 18:35:27 +0800 (HKT) From: "Gelsema, P \(Patrick\)" To: Nejc =?iso-8859-1?Q?=A9koberne?= User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Johan Hendriks , freebsd-questions@freebsd.org Subject: Re: FreeBSD 7.0 jail and Samba 3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 10:36:32 -0000 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 the jail (same version, same > config) > it works as it should. I have this in my rc.conf: 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. So, what are your settings for master (local, domain and wins)? can you do a ping to machine? Can it be resolved? Can you connect smbclient //ipadres? Do you see the smb client listening on the machines virtual ip? in case the above work for you it is all about name resolution. # man smbclient Read the first paragraph of servicename on servername resolution. Patrick > > jail_enable="YES" > jail_sysvipc_allow="YES" > jail_socket_unixiproute_only="NO" > > #=---------------------------- Jails ---------------------------=# > jail_list="samba" > #=--------------------------------------------------------------=# > jail_samba_rootdir="/usr/jail/samba" > jail_samba_hostname="samba.domain.local" > jail_samba_ip="192.168.15.201" > jail_samba_interface="rl0" > jail_samba_devfs_enable="YES" > jail_samba_procfs_enable="YES" > jail_samba_devfs_ruleset="devfsrules_jail" > #=--------------------------------------------------------------=# > > and this in my sysctl.conf: > > security.jail.allow_raw_sockets=1 > security.jail.sysvipc_allowed=1 > > Thanks, > Nejc > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >