Set client max/min protocol via environmantal variables

Mikhail Novosyolov m.novosyolov at
Tue Feb 12 17:50:35 UTC 2019

I've made a patch trying to allow setting 'client min protocol' and 
'client max protocol' via an environmental variable.
Samba 4.9.4 with this patch builds OK, but I don't see any effect from 
e.g. SMB_CLIENT_MAX_PROTOCOL=NT1, even when setting this in systemd unit 

What have I done wrong?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Implement-reading-SMB_CLIENT_MIN_PROTOCOL-and-SMB_CL.patch
Type: text/x-patch
Size: 1468 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list