How to add vfs_audit object?

some_james

Cadet
Joined
Jan 26, 2021
Messages
2
TrueNAS 12 has removed the option to add VFS objects via GUI. I am setting up a project that requires smb audit.
I have already tried inserting vfs objects = audit into the Auxiliary Parameters. However, this overrides the default VFS objects and breaks the share.
What is the correct way to add the vfs_audit object?
 

some_james

Cadet
Joined
Jan 26, 2021
Messages
2
From what digging i've done, i found https://www.truenas.com/community/threads/zfs-settings-truenas-12.88246/. But the way outlined there is rather dirty, putting the full list of needed and wanted vfs objects in the aux parameters.

Sadly, SMB configuration doesn not appending to a variable, from what i've seen. Someting like
vfs object = vfs objects + vfs_audit
would be cleaner but isnt possible.
I just ask myself why they remove the UI menu for vfs objects.
 
Top