mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
5598ddaaf4
A Mac SMB server returns an all zero handle and an empty path if Spotlight is disabled on a share. We must return the exact same error return in order to trigger client-side searching. Bug: https://bugzilla.samba.org/show_bug.cgi?id=15086 pcap: https://www.samba.org/~slow/pcaps/mac-bigsur-smbserver-spotlight-disabled.pcapng.gz Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <npower@samba.org> (backported from commit 8e997bd6e9250499fd8e569d708edc29e304a0e8) [slow@samba.org: conflicts in tests.py caused by unrelated tests]