Skip to content

Instantly share code, notes, and snippets.

@cathode
Created February 16, 2016 23:10
Show Gist options
  • Select an option

  • Save cathode/e0123d1b25fe2ccf03a2 to your computer and use it in GitHub Desktop.

Select an option

Save cathode/e0123d1b25fe2ccf03a2 to your computer and use it in GitHub Desktop.
# Allow samba to properly store NTFS-style ACLs
map archive = no
map readonly = no
map hidden = no
map system = no
nfs4: mode = special
nfs4: acedup = merge
nfs4: chown = yes
zfsacl:acesort = dontcare
nt acl support = yes
map acl inherit = yes
inherit permissions = yes
inherit acls = yes
inherit owner = yes
store dos attributes = yes
dos filemode = no
ea support = yes
case sensitive = no
csc policy = disable
# Add microsecond resolution to file timestamp
debug hires timestamp = yes
# Disable unix extensions because there are no unix clients
# connecting to this samba server.
unix extensions = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment