[Samba] How to identify the operating system of a client?

Stephan Roth stephan.roth at ee.ethz.ch
Wed Jan 30 14:28:11 UTC 2019

My goal is to distinguish between Mac and Windows clients on a Samba 
server in order to provide shares with vfs_fruit only to Mac clients.

So I assumed using the variable substitution %a which contains the 
architecture of the remote machine would be the correct way forward.
But as it turns out, a Windows 10 client is reported as having the 
architecture "OSX".

Short of agressively scanning a remote client with nmap, does anyone 
have a suggestion on how to solve this problem?


- Stephan

I'm using Samba 4.5.12-Debian

More information about the samba mailing list