jails Jail | Samba | Previous versions

hi,
I'm trying to setup samba shadow copy in jail. I follow the documentation and searching forums but my settings not working.
The previous versions not showing in windows tab. Where I'm wrong ?

smb.conf

Code:
[global]
workgroup = TEST
server string = Samba Server Version %v
security = ads
realm = TEST.LOCAL
domain master = no
local master = no
preferred master = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072
use sendfile = true
idmap config * : backend = tdb
idmap config * : range = 100000-299999
idmap config TEST : backend = rid
idmap config TEST : range = 10000-99999
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind nested groups = yes
winbind refresh tickets = yes
winbind offline logon = false
template homedir = /home/%D/%U
template shell = /bin/false
ntlm auth = yes
#ntlm auth = mschapv2-and-ntlmv2-only
vfs objects = zfsacl shadow_copy2
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
store dos attributes = yes
map hidden = no
map system = no
map archive = no
map readonly = no

[test]
path = /mnt/test
read only = no
follow symlinks = yes
wide links      = yes
unix extensions = no
shadow:sort = desc
shadow: format = %Y-%m-%dT%H:%M:%S
shadow:snapdir = .zfs/snapshot/

Code:
root@freeradius:/.zfs/snapshot # ls
12012021                2021-01-06              2021-01-23T09:46:37     GMT-2021.01.22-12.15.04
 
Last edited by a moderator:
Back
Top