1 <samba:parameter name="client smb encrypt"
4 enumlist="enum_smb_encryption_vals"
5 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
8 This parameter controls whether a client should try or is required
9 to use SMB encryption. It has different effects depending on whether
10 the connection uses SMB1 or SMB3:
16 If the connection uses SMB1, then this option controls the use
17 of a Samba-specific extension to the SMB protocol introduced in
18 Samba 3.2 that makes use of the Unix extensions.
24 If the connection uses SMB2 or newer, then this option controls
25 the use of the SMB-level encryption that is supported in SMB
26 version 3.0 and above and available in Windows 8 and newer.
32 This parameter can be set globally. Possible values are
34 <emphasis>off</emphasis>,
35 <emphasis>if_required</emphasis>,
36 <emphasis>desired</emphasis>,
38 <emphasis>required</emphasis>.
39 A special value is <emphasis>default</emphasis> which is
40 the implicit default setting of <emphasis>if_required</emphasis>.
45 <term><emphasis>Effects for SMB1</emphasis></term>
48 The Samba-specific encryption of SMB1 connections is an
49 extension to the SMB protocol negotiated as part of the UNIX
50 extensions. SMB encryption uses the GSSAPI (SSPI on Windows)
51 ability to encrypt and sign every request/response in a SMB
52 protocol stream. When enabled it provides a secure method of
53 SMB/CIFS communication, similar to an ssh protected session, but
54 using SMB/CIFS authentication to negotiate encryption and
55 signing keys. Currently this is only supported smbclient of by
56 Samba 3.2 and newer. Windows does not support this feature.
60 When set to default, SMB encryption is probed, but not
61 enforced. When set to required, SMB encryption is required and
62 if set to disabled, SMB encryption can not be negotiated.
68 <term><emphasis>Effects for SMB3 and newer</emphasis></term>
71 Native SMB transport encryption is available in SMB version 3.0
72 or newer. It is only used by Samba if
73 <emphasis>client max protocol</emphasis> is set to
74 <emphasis>SMB3</emphasis> or newer.
78 These features can be controlled with settings of
79 <emphasis>client smb encrypt</emphasis> as follows:
85 Leaving it as default, explicitly setting
86 <emphasis>default</emphasis>, or setting it to
87 <emphasis>if_required</emphasis> globally will enable
88 negotiation of encryption but will not turn on
89 data encryption globally.
95 Setting it to <emphasis>desired</emphasis> globally
96 will enable negotiation and will turn on data encryption
97 on sessions and share connections for those servers
104 Setting it to <emphasis>required</emphasis> globally
105 will enable negotiation and turn on data encryption
106 on sessions and share connections. Clients that do
107 not support encryption will be denied access to the
114 Setting it to <emphasis>off</emphasis> globally will
115 completely disable the encryption feature for all
125 <value type="default">default</value>