> In the interim would it be possible for the SMB server to detect the
> client OS and only allow recalls from say Windows. At least this would
> be in "our" control unlike getting Apple to change the finder.app
> behaviour. Then tell MacOS users to use Windows if they want to recall
> files and pin the blame squarely on Apple to your users.
Detecting the client OS is the difficult part. There is code in Samba
to guess the client OS from a SMB1 negotiate request. This is not
reliable in the first place, as a client can directly negotiate SMB2/3
which would omit the client OS guessing.
There is a protocol extensions MacOS clients try to negotiate, so
maybe that could be used as indicator for a MacOS client that should be
prevented from recalling files. This would still be a crude hack, but
at least the required pieces of information are available.
If that is an important piece, maybe this should be tracked as RFE
instead of an email thread.
> I note that Linux is no better at honouring the offline bit in the SMB
> protocol than MacOS. Oh the irony of Windows being the only main stream
> IS handling HSM'ed files properly!
Linux probably suffers from the distributed development here. The
Linux kernel SMB/CIFS client allows applications to query the offline
flag, but it would be up to the applications (e.g. file browsers) to
query that flag before reading data for generating previews.