Samba3 and audit vfs module

tino sannata at tin.it
Thu Sep 2 13:57:03 PDT 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list