[Samba] Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
Akash Jain
akash.jain110683 at gmail.com
Fri Apr 6 08:14:50 UTC 2018
Hi All
I found there is one bug in the plugin. The name of the attribute for ACL
as per strace output of nfs4_setfacl is *system.nfs4_acl.*
The source code has defined it as
#define NFS4ACL_XATTR_NAME ( "system.nfs4acl" )
Note there is missing underscore.
After this, the EOPNOTSUPP error is not observed.
Hope this helps
Akash
On Thu, Apr 5, 2018 at 11:43 PM, Jeremy Allison <jra at samba.org> wrote:
> On Thu, Apr 05, 2018 at 04:09:26PM +0530, Akash Jain via samba wrote:
> >
> > Can someone help me understand, why following call may fail when the path
> > is locally mounted NFS share and not a VFS path:
> >
> > * length = SMB_VFS_NEXT_GETXATTR(handle, path,
> > NFS4ACL_XATTR_NAME, blob.data, blob.length);*
> >
> > Since next module in the stack is Default_VFS, isn't it supposed to
> forward
> > the request to local NFS client? I do not see any packets on NFS port of
> > the local NFS client when this operation fails.
>
> Looks like your local NFS client doesn't support remote xattr
> operations.
>
More information about the samba
mailing list