Stefan Sobernig
2023-Nov-26 16:47 UTC
[Samba] On macOS: Shares appear empty, only directories (no files)?
Dear all, I hope to make samba.org's |smbd| (4.9.12) run on my MBP (M1, 13.6.2) to provide shares to some VMs (qemu/ UTM) on and restricted to the same host [1]. I succeeded in installing Samba via MacPorts and via homebrew, I created some test shares (incl. a public one allowing for guest access), but there is an anomaly: I can access the shares using |smbclient| from the macOS host, or from any VM (running Windows, running Linux), but they appear empty except for (sub-)directories. With logging on, I spotted entries like: |openat_pathref_fsp_nosymlink: SMB_VFS_OPENAT(., dummy-1.pdf, RESOLVE_NO_SYMLINKS) returned 78 Function not implemented => NT_STATUS_NOT_SUPPORTED readlink_talloc: SMB_VFS_READLINKAT() failed: No such file or directory read_symlink_reparse: readlink_talloc failed: NT_STATUS_OBJECT_NAME_NOT_FOUND openat_pathref_fsp_nosymlink: create_open_symlink_err failed: NT_STATUS_OBJECT_NAME_NOT_FOUND file_free: freed files structure 0 (1 used) smbd_dirptr_get_entry: Could not open dummy-1.pdf: NT_STATUS_NOT_A_DIRECTORY smbd_dirptr_get_entry: dir [.] dirptr [0x131e123c0] offset [3] => dname [(finished)] smbd_smb2_request_find_done: out_output_buffer.length = 220 | My full report is at [2]. I'd appreciate your hints! Thx! Stefan [1] https://gist.github.com/erkserkserks/0d48f75e1a36bc9e1ccdc3e1428efba0 [2] https://apple.stackexchange.com/questions/466771/smbd-on-macos-shares-appear-empty-only-directories-no-files || ||
Maybe Matching Threads
- missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
- [Announce] Samba 4.18.7 Available for Download
- [Announce] Samba 4.18.7 Available for Download
- [Announce] Samba 4.17.11 Available for Download
- [Announce] Samba 4.17.11 Available for Download