The vfs_ceph_rgw VFS module has several issues related to extended attribute handling and missing VFS method implementations: 1. fgetxattr returns wrong status for non-existing xattrs: The rgw_getxattrs() API returns 0 both when an xattr exists (callback invoked) and when it does not (callback not invoked). The module treated any rc == 0 as success, so the upper layer received no data and no error instead of the expected NT_STATUS_OBJECT_NAME_NOT_FOUND. 2. flistxattr is not implemented: The module registered vfs_not_implemented_flistxattr, causing any attempt to enumerate extended attributes to fail. 3. fs_capabilities is not implemented: The module registered vfs_not_implemented_fs_capabilities and hardcoded FsCapabilities to 0.
This bug was referenced in samba master: 9867d4d99c9337a3e820b07f3e0f7d9b756524f6 3796c788ac879bae0a66e3d7f44b94e68f251b02 e39f85d383ba15dffc0b8fd109b361cfb89afee7
Created attachment 19166 [details] patch from master for v4-25-test
Comment on attachment 19166 [details] patch from master for v4-25-test LGTM, RB+
Björn, please add to v4-25-test
This bug was referenced in samba v4-25-test: 0601b5cab51959d0124789e34def8a9ab550b24b 6b8676194f60051246af618a43376890eb84214b f73e0f70ff72ea062c8c8f0a1e0c096a9e475b05
This bug was referenced in samba v4-25-stable (Release samba-4.25.0rc2): 0601b5cab51959d0124789e34def8a9ab550b24b 6b8676194f60051246af618a43376890eb84214b f73e0f70ff72ea062c8c8f0a1e0c096a9e475b05