From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 19:23:24 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 70D0516A4CE for ; Wed, 1 Sep 2004 19:23:24 +0000 (GMT) Received: from muva.it (host85-21.pool8248.interbusiness.it [82.48.21.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AFE643D55 for ; Wed, 1 Sep 2004 19:23:19 +0000 (GMT) (envelope-from sannata@tin.it) Received: from localhost (unknown [127.0.0.1]) by muva.it (Postfix) with ESMTP id E768A6230 for ; Wed, 1 Sep 2004 21:23:18 +0200 (CEST) Received: from muva.it ([127.0.0.1]) by localhost (muva [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85082-05 for ; Wed, 1 Sep 2004 21:23:16 +0200 (CEST) Received: by muva.it (Postfix, from userid 1001) id E5C4A61CA; Wed, 1 Sep 2004 21:23:16 +0200 (CEST) Date: Wed, 1 Sep 2004 21:23:16 +0200 From: tino To: freebsd-questions@freebsd.org Message-ID: <20040901192316.GA13718@muva> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at muva Subject: 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: Wed, 01 Sep 2004 19:23:24 -0000 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