Spotlight search function broken with macOS Ventura and later client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Unknown
|
Unknown
|
|||
samba (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
High
|
Mitchell Dzurick | ||
Jammy |
Fix Released
|
High
|
Mitchell Dzurick | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
Mantic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
This bug causes users to receive no feedback (results or errors) when trying to search a Samba share from macOS Ventura or later with the Finder/Spotlight (OS-native) mechanism. Before Ventura, searching was possible because of Samba's elasticsearch integration. With the affected versions (which we expect will include all future versions from here on out) a user performs a search and just never gets results, nor any positive feedback that something has failed.
The patch to Samba accounts for a difference in the query parameter arrangement in newer macOS versions. Before the patch, Samba would not properly interpret a search query from the newer versions because it was nested in a more complicated structure than before.
This is fixed upstream in https:/
[ Test Plan ]
To reproduce:
1. Browse to a Samba share
2. Type a search string in the box at the top of the Finder window
3. The default destination is "this mac", so change it to the option provided to search the current network share
4. Observe no results, errors, or other feedback
To confirm the fix:
Same as above, but in step 4, results should be provided.
[ Where problems could occur ]
This feature is macOS specific, so if macOS changes the structure again, then this will need to be fixed again.
Related branches
- Dan Bungert: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 70 lines (+48/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/lp2046994-spotlight-doesnt-work-with-latest-macos-ventura.patch (+40/-0)
debian/patches/series (+1/-0)
- Dan Bungert: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 70 lines (+48/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/lp2046994-spotlight-doesnt-work-with-latest-macos-ventura.patch (+40/-0)
debian/patches/series (+1/-0)
description: | updated |
Changed in samba (Ubuntu): | |
status: | New → Triaged |
Changed in samba (Ubuntu Focal): | |
status: | New → Triaged |
Changed in samba (Ubuntu Jammy): | |
status: | New → Triaged |
Changed in samba (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in samba (Ubuntu Lunar): | |
status: | New → Fix Released |
Changed in samba (Ubuntu Mantic): | |
status: | New → Fix Released |
Changed in samba (Ubuntu Jammy): | |
assignee: | nobody → Mitchell Dzurick (mitchdz) |
Changed in samba (Ubuntu Focal): | |
assignee: | nobody → Mitchell Dzurick (mitchdz) |
description: | updated |
Changed in samba (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in samba (Ubuntu Jammy): | |
importance: | Undecided → High |
Changed in samba (Ubuntu Focal): | |
status: | Triaged → In Progress |
Thank you for the report, indeed a patch on a plate.
I think this will need a MacOS user with ventura to help us verifying - otherwise the try to fix is in vain.
Once a packager would make this available, would you be able to verify this as part of the SRU [1]?
I'm mark incomplete until you or someone else confirmed this (as it is only actionable then).
[1]: https:/ /wiki.ubuntu. com/StableRelea seUpdates