From owner-freebsd-questions@FreeBSD.ORG Thu Sep 2 20:57:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 364DC16A4CE for ; Thu, 2 Sep 2004 20:57:03 +0000 (GMT) Received: from muva.it (host207-117.pool8248.interbusiness.it [82.48.117.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F61443D1D for ; Thu, 2 Sep 2004 20:57:02 +0000 (GMT) (envelope-from sannata@tin.it) Received: from localhost (unknown [127.0.0.1]) by muva.it (Postfix) with ESMTP id 348F562B9 for ; Thu, 2 Sep 2004 22:57:02 +0200 (CEST) Received: from muva.it ([127.0.0.1]) by localhost (muva [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03606-05 for ; Thu, 2 Sep 2004 22:56:58 +0200 (CEST) Received: by muva.it (Postfix, from userid 1001) id BBDC16266; Thu, 2 Sep 2004 22:56:58 +0200 (CEST) Date: Thu, 2 Sep 2004 22:56:58 +0200 From: tino To: freebsd-questions@freebsd.org Message-ID: <20040902205658.GA8729@muva> Mail-Followup-To: freebsd-questions@freebsd.org References: <20040901192316.GA13718@muva> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040901192316.GA13718@muva> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at muva Subject: Re: Samba3 and audit vfs module X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2004 20:57:03 -0000 Ok, I answer myself: I get this achieved by installing port in /usr/port/sysutils/lookupd which emulates nsswitch resolver. After that i made a symlink in /usr/local/lib from lkpd_nss.so.1 to nss_dns.so.1 and all seems to work. hope this will help. regards, Santo Natale On Wed, Sep 01, 2004 at 09:23:16PM +0200, tino wrote: > Hi, > I need to log every file users access to on my samba servers, so I used the vfs module audit, as suggested on http://www.samba.org , but I have this error as soon as I try to mount a share: > > Sep 1 20:53:52 muva smbd[12847]: [2004/09/01 20:53:52, 0] lib/module.c:do_smb_load_module(57) > Sep 1 20:53:52 muva smbd[12847]: Error trying to resolve symbol 'init_module' in /usr/local/lib/samba/vfs/audit.so: Shared object "nss_dns.s > o.1" not found > > It refers to a library included in nsswitch, not available for freebsd, afaik. > How can I get rid of this error or even get file accesses logged ? > Any help is appreciated. > Thanks, > Santo Natale > _______________________________________________ > 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"