Stephan Roth
2019-Jan-30 14:28 UTC
[Samba] How to identify the operating system of a client?
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? Thanks! - Stephan I'm using Samba 4.5.12-Debian
Stephan Roth
2019-Feb-11 09:26 UTC
[Samba] How to identify the operating system of a client?
Let me rephrase the question in hope for an answer: Is it at all feasible to identify the operating system of a client? Thanks, Stephan On 30.01.19 15:28, Stephan Roth via samba wrote:> 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? > > Thanks! > > - Stephan > > I'm using Samba 4.5.12-Debian
Ralph Böhme
2019-Feb-11 10:30 UTC
[Samba] How to identify the operating system of a client?
On Mon, Feb 11, 2019 at 10:26:31AM +0100, Stephan Roth via samba wrote:>Let me rephrase the question in hope for an answer: > >Is it at all feasible to identify the operating system of a client?no, not really. We try to match by the list of supported SMB dialects in the SMB1 negprot, but that is really just guesswork. -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/ GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
Possibly Parallel Threads
- How to identify the operating system of a client?
- How to identify the operating system of a client?
- How to identify the operating system of a client?
- vfs_fruit causes delay in listing directories for Windows clients
- NTLMv1 v. NTLMv2 ; more than one "identity" on a TCP connection