[PATCH] Fix for XDR Backend of NFS4ACL_XATTR module to get it working with NFS4.0 ACL Spec

Sandeep Nashikkar snashikkar at commvault.com
Mon Sep 3 08:33:04 UTC 2018


On Mon, 27 August, 2018 at 12:30 PM IST Sandeep Nashikkar via samba-technical wrote:
> > On Fri, 24 August, 2018 at 04:40 Jeremy Allison wrote:

> > So I'm OK with this code now. RB+ Jeremy Allison in terms of how it encodes and changes the nfs4acls.
> > What I still need to understand is the effect of this on existing setups with nfs4 ACLs stored in xattrs.
> > which means that selecting both NFS4ACL_ENCODING_XDR *and* 
> > NFS40ACL_ENCODING_XDR will use the same xattr name of

> Jeremy, xattr name can be provided via xattr_name module parameter. It will not break the existing setup if they provide required parameters correctly. 
> We can revert the default xattr name back to original if you insist. Let me know. 

> Thanks
> Sandeep

Hi Jeremy, 

Can we move the patch for next review? Let me know if there are any more suggestions. 
BTW, I have another fix for smbacl4_fill_ace4() in "source3/modules/nfs4_acls.c"
When we convert SID to uid/gid, we do not check if the type of SID is SID_NAME_DOM_GRP. 
If the sid_to_uid as well as sid_to_gid return success, we end up wrongly setting SMB_ACE4_IDENTIFIER_GROUP in the SMB_ACE4PROP_T
Please let me know if I need to submit separate patch for this fix or shall I update the same ACL plugin patch for that fix?

Thanks,
Sandeep

***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************




More information about the samba-technical mailing list