Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tkt-72011: Automatically enable zfsacl if sysvol supports nfs4 acls. (by anodos325) #218

Merged
merged 1 commit into from Feb 19, 2019

Conversation

bugclerk
Copy link

sysvol acl reset during domain provisioning can fail due to
fset_nt_acl failing with NT_STATUS_INVALID_PARAMETER. This is
because samba defaults to setting the acl_xattr vfs object for
domain controllers unless it is explicitly overriden. During
provisioning there is not a reliable mechanism to ensure that
we are overriding the default with zfsacl. Instead, check for
nfs4 ACL support on samba's statedir (the default location for
the sysvol share), and enable zfsacl accordingly.

sysvol acl reset during domain provisioning can fail due to
fset_nt_acl failing with NT_STATUS_INVALID_PARAMETER. This is
because samba defaults to setting the acl_xattr vfs object for
domain controllers unless it is explicitly overriden. During
provisioning there is not a reliable mechanism to ensure that
we are overriding the default with zfsacl. Instead, check for
nfs4 ACL support on samba's statedir (the default location for
the sysvol share), and enable zfsacl accordingly.

(cherry picked from commit 5f11c84)
@anodos325 anodos325 self-requested a review January 24, 2019 16:10
@anodos325 anodos325 merged commit 7b9f80d into freenas/11.2-stable Feb 19, 2019
@anodos325 anodos325 deleted the FIX-71849-11.2-72011 branch February 19, 2019 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants