Stackable VFS objects recycle, full_audit interoperability error
Bug #1780463 reported by
Mark Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Unknown
|
Unknown
|
|||
samba (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Specifying "vfs objects = recycle full_audit" Results in the audit behavior working but the recycle behavior not working:
Jul 5 20:46:05 sambatest smbd_audit: mark|192.
However, specifying "vfs objects = full_audit recycle" results in both the recycle bin behavior and the audit behavior working as expected:
Jul 5 20:47:45 sambatest smbd_audit: mark|192.
It doesn't seem like these modules should overlap in functionality, so the order doesn't seem like it should matter.
Package: samba 2:4.3.11+
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Changed in samba (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
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 samba-vfs- stack smbd_audit: ubuntu| 127.0.0. 1|unlink| ok|tty samba-vfs- stack smbd_audit: ubuntu| 127.0.0. 1|unlink| ok|[
Jul 11 19:12:58 xenial-
Jul 11 19:13:00 xenial-
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.