[Samba] samba with full audit and trash

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Tue Dec 15 12:19:34 MST 2009


On Tue, Dec 15, 2009 at 05:10:39PM -0200, 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?
> 
> 
> 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/

So one says object the other objects.  Do you have to pick one or
the other?  Do you have to perhaps combine them in one line?

-- 
Len Sorensen


More information about the samba mailing list