Robert Steinmetz
2021-Feb-10 18:52 UTC
[Samba] Is it possible to set the protocol for a single client
I have a few clients which require minimum protocol. Is it possible to set the min protocol on a per client basis? If so how? -- Robert Steinmetz, AIA Principal Steinmetz & Associates Signature
Jeremy Allison
2021-Feb-10 19:07 UTC
[Samba] Is it possible to set the protocol for a single client
On Wed, Feb 10, 2021 at 01:52:28PM -0500, Robert Steinmetz via samba wrote:>I have a few clients which require minimum protocol. Is it possible to >set the min protocol on a per client basis? >If so how?You could try doing an include directive in the smb.conf based on client machine (%m or %M) parameter.
Rowland penny
2021-Feb-10 19:15 UTC
[Samba] Is it possible to set the protocol for a single client
On 10/02/2021 18:52, Robert Steinmetz via samba wrote:> I have a few clients which require minimum protocol. Is it possible to > set the min protocol on a per client basis? > If so how?I don't think so, SMB is a negotiated protocol, so if you set 'server minimum protocol = NT1' on one machine and then tried to connect from a machine that had 'client minimum protocol = SMB2', the client would try SMB3, then SMB2, then give up. You could set the server to 'NT1' and then set individual clients to use NT1, but this would mean your server would allow connection from any client that used SMB1 and I don't think this is a good idea. Rowland