Following 2 cases have been identified to be incorrectly handled with glfs_getxattr() or glfs_fgetxattr() in vfs_glusterfs: 1. SMB_VFS_GET_REAL_FILENAME_AT Considering the fact that we are operating with pathref fsp here glfs_fgetxattr() is expected to fail with EBADF. 2. SMB_VFS_FGETXATTR A fall back mechanism is missing in case of path based call. Otherwise EBADF is expected.
This bug was referenced in samba master: 8cbd9e63724d80c06565d0c90bd107166dfd9bbe 6a6bd1a0530424def64d2d462b54e4c1f4f9bebb 7af4bfe8285714c137b6347b17305c9cd0702bdd cc397175cb9a1b06f268ecf6b3d62f621947cbba
Created attachment 17560 [details] patch for v4-17
This bug was referenced in samba master: 5d91ecf01dce95400da5d6ac181144df1e32ca35
Created attachment 17662 [details] patch for v4-17
Reassigning to Jule for inclusion in 4.17.
Pushed to autobuild-v4-17-test.
This bug was referenced in samba v4-17-test: 2ce1a1eca5677268f3b0be18f02d74fa07e575a0 d904e80ef35f702690a843bf6cffbba297c6ddda 9f307955d8a7546171333ef0c0aa85f04c32d578 4a3dcb3257834285a198c5ff3c18a2eaac3d38ab 9dbbce3f4e72eae302bd9e18013d80f544220ee2
Closing out bug report. Thanks!
This bug was referenced in samba v4-17-stable (Release samba-4.17.4): 2ce1a1eca5677268f3b0be18f02d74fa07e575a0 d904e80ef35f702690a843bf6cffbba297c6ddda 9f307955d8a7546171333ef0c0aa85f04c32d578 4a3dcb3257834285a198c5ff3c18a2eaac3d38ab 9dbbce3f4e72eae302bd9e18013d80f544220ee2