[Samba] samba with full audit and trash

John H Terpstra jht at samba.org
Tue Dec 15 12:55:39 MST 2009


On 12/15/2009 01:10 PM, Andre Losnak wrote:
> Hi list
>
> i running my samba with full audit module, when i run recycle together full
> audit fails.
>
> I can run samba with full audit + recycle?
>   
Yes.

Use the following:

    vfs object = recycle full_audit

- John T.
>
> Thanks.
>
> My conf:
>
> in [GLOBAL]:
> #lixeira
>         vfs object = recycle
>         recycle:repository = /hda1/lixeira/.recycle/%U
>         recycle:keeptree = Yes
>         recycle:touch = Yes
>         recycle:versions = Yes
>         recycle:maxsize = 0
>         recycle:minsize = 1
>         recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~??
>         recycle:excludedir = /tmp /temp /cache
>         recycle:noversions = *.doc *.xls *.ppt *.docx *.xlsx
>
> #auditoria
>         vfs objects = full_audit
>         full_audit:success = open, opendir, write, unlink, rename, mkdir,
> rmdir, chmod, chown
>         full_audit:prefix = %u|%I|%S
>         full_audit:failure = none
>         full_audit:facility = local5
>         full_audit:priority = notice
>
>
> in shares:
> vfs object = recycle
> recicle:repository =  /hda1/lixeira/.recycle/
>   



More information about the samba mailing list