[SoftNAS KB]: How to enable Previous Versions on CIFS with AD integration.
- Log into SoftNAS StorageCenter.
- In the Storage Administration pane, navigate to CIFS Shares.
- In CIFS Shares, navigate to the /etc/samba/smb.conf file and add the following code below the shared definition:
vfs objects = shadow_copy2 acl_xattrshadow: snapdir = .zfs/snapshotshadow: sort = descshadow: format = hourly-%Y%m%d-%H%M%Sshadow: localtime = yes
See below for reference:[testshadowcopy]writable = yesbrowseable = yespublic = yesguest ok = yespath = /tank/testshadowcopydirectory mask = 0777create mask = 0777vfs objects = shadow_copy2 acl_xattrshadow: snapdir = .zfs/snapshotshadow: sort = descshadow: format = hourly-%Y%m%d-%H%M%Sshadow: localtime = yes - Restart SMB services by pressing the button to restart the winbind and samba services.
, multiple selections available,