From https://gitlab.com/samba-team/samba/-/merge_requests/2930 I was testing a share using the vfs_ceph module over smbclient. I could log into a share but not ls the root of the share. The samba logs lead me to look into the fds/fsps use and I was able to come up with the following fix: Replace fsp_get_io_fd with fsp_get_pathref_fd as these calls do use pathref fsps. fsp_get_io_fd asserts that the fsp is not pathref and asserts (on a debug build) or returns -1 (non debug build). Prior to these changes running ls on the root of the share failed. Logging from the failure case:
Have patch, need bugid.
This bug was referenced in samba master: 54a8da864071e28eb6297b872dcb57fb9b171f33
Created attachment 17758 [details] git-am fix for 4.18.rcNext, 4.17.next.
Comment on attachment 17758 [details] git-am fix for 4.18.rcNext, 4.17.next. Looks fine for me.
Jule, please apply the patch to the relevant branches. Thanks!
Pushed to autobuild-v4-{18,17}-test.
This bug was referenced in samba v4-17-test: 0b8713e342c6b7eb58e19fc01c90a7182d843baf
This bug was referenced in samba v4-18-test: 82d7b2a142e4ab64a573f268457e8bbff697e6fd
Closing out bug report. Thanks!
This bug was referenced in samba v4-18-stable (Release samba-4.18.0rc3): 82d7b2a142e4ab64a573f268457e8bbff697e6fd
This bug was referenced in samba v4-17-stable (Release samba-4.17.6): 0b8713e342c6b7eb58e19fc01c90a7182d843baf