Comment 1 for bug 1780463

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I can confirm this with xenial's samba:

# works:
[storage]
 path = /storage
 vfs objects = full_audit recycle
 read only = no
 guest ok = no
 full_audit:prefix = %u|%I
 full_audit:success = unlink
 full_audit:failure = none

Jul 11 19:12:55 xenial-samba-vfs-stack smbd_audit: ubuntu|127.0.0.1|unlink|ok|head
Jul 11 19:12:58 xenial-samba-vfs-stack smbd_audit: ubuntu|127.0.0.1|unlink|ok|tty
Jul 11 19:13:00 xenial-samba-vfs-stack smbd_audit: ubuntu|127.0.0.1|unlink|ok|[

I get logging (full_audit) and .recycle gets the files I removed.

Changing the order like this:

 vfs objects = recycle full_audit

I lose the logging, but recycling works.

I'll try on newer versions to see if this was fixed.