Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 22:56:58 +0200
From:      tino <sannata@tin.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Samba3 and audit vfs module
Message-ID:  <20040902205658.GA8729@muva>
In-Reply-To: <20040901192316.GA13718@muva>
References:  <20040901192316.GA13718@muva>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040902205658.GA8729>