Debian Codegraph @

docs-xml/smbdotconf/logon/serverrejectaesschannel.xml

raw
1 <samba:parameter name="server reject aes schannel"
2 context="G"
3 type="boolean"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6 <para><emphasis>This option is experimental for now!</emphasis>
7 </para>
8
9 <para>This option controls whether the netlogon server (currently
10 only in 'active directory domain controller' mode), will
11 reject clients which do not support ServerAuthenticateKerberos.</para>
12
13 <para>Support for ServerAuthenticateKerberos was added in Windows
14 starting with Server 2025, it's available in Samba starting with 4.22 with the
15 '<smbconfoption name="server support krb5 netlogon">yes</smbconfoption>' and
16 '<smbconfoption name="client use krb5 netlogon">yes</smbconfoption>' options,
17 which are disabled by default.
18 </para>
19
20 <para>Note this options is not really related to security problems
21 behind CVE_2022_38023, but it still uses the debug level related
22 logic and options.</para>
23
24 <para>
25 Samba will log an error in the log files at log level 0
26 if legacy a client is rejected without an explicit,
27 '<smbconfoption name="server reject aes schannel:COMPUTERACCOUNT">no</smbconfoption>' option
28 for the client. The message will indicate
29 the explicit '<smbconfoption name="server reject aes schannel:COMPUTERACCOUNT">no</smbconfoption>'
30 line to be added, if the client software requires it. (The log level can be adjusted with
31 '<smbconfoption name="CVE_2022_38023:error_debug_level">1</smbconfoption>'
32 in order to complain only at a higher log level).
33 </para>
34
35 <para>
36 Samba will log a message in the log files at log level 5
37 if a client is allowed without an explicit,
38 '<smbconfoption name="server reject aes schannel:COMPUTERACCOUNT">no</smbconfoption>' option
39 for the client. The message will indicate
40 the explicit '<smbconfoption name="server reject aes schannel:COMPUTERACCOUNT">no</smbconfoption>'
41 line to be added, if the client software requires it. (The log level can be adjusted with
42 '<smbconfoption name="NETLOGON_AES:usage_debug_level">0</smbconfoption>'
43 in order to complain only at a lower or higher log level).
44 This can we used to prepare the configuration before changing to
45 '<smbconfoption name="server reject aes schannel">yes</smbconfoption>'
46 </para>
47
48 <para>Admins can use
49 '<smbconfoption name="server reject aes schannel:COMPUTERACCOUNT">no/yes</smbconfoption>' options in
50 order to have more control</para>
51
52 <para>When set to 'yes' this option overrides the
53 '<smbconfoption name="server reject md5 schannel:COMPUTERACCOUNT"/>' and
54 '<smbconfoption name="reject md5 clients"/>' options and implies
55 '<smbconfoption name="server reject md5 schannel:COMPUTERACCOUNT">no</smbconfoption>'.
56 </para>
57
58 <para>This option interacts with the '<smbconfoption name="server support krb5 netlogon"/>' option.
59 </para>
60
61 <para>For now '<smbconfoption name="server reject aes schannel"/>'
62 is EXPERIMENTAL and should not be configured explicitly.</para>
63 </description>
64
65 <value type="default">no</value>
66 <value type="example">yes</value>
67 </samba:parameter>
68
69 <samba:parameter name="server reject aes schannel:COMPUTERACCOUNT"
70 context="G"
71 type="string"
72 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
73 <description>
74
75 <para>If the time has come and most domain members or trusted domains
76 support ServerAuthenticateKerberos, admins may want to use "server reject aes schannel = yes".
77 It is possible to specify an explicit exception per computer account
78 by setting 'server reject aes schannel:COMPUTERACCOUNT = no'.
79 Note that COMPUTERACCOUNT has to be the sAMAccountName value of
80 the computer account (including the trailing '$' sign).
81 </para>
82
83 <para>Note this options is not really related to security problems
84 behind CVE_2022_38023, but it still uses the debug level related
85 logic and options.
86 </para>
87
88 <para>
89 Samba will log a complaint in the log files at log level 0
90 about the security problem if the option is set to "no",
91 but the related computer does not require it.
92 (The log level can be adjusted with
93 '<smbconfoption name="CVE_2022_38023:warn_about_unused_debug_level">1</smbconfoption>'
94 in order to complain only at a higher log level).
95 </para>
96
97 <para>
98 Samba will log a warning in the log files at log level 5
99 if a setting is still needed for the specified computer account.
100 </para>
101
102 <para>This option overrides the <smbconfoption name="server reject aes schannel"/> option.</para>
103
104 <para>When set to 'yes' this option overrides the
105 '<smbconfoption name="server reject md5 schannel:COMPUTERACCOUNT"/>' and
106 '<smbconfoption name="reject md5 clients"/>' options and implies
107 '<smbconfoption name="server reject md5 schannel:COMPUTERACCOUNT">no</smbconfoption>'.
108 </para>
109
110 <programlisting>
111 server reject aes schannel:LEGACYCOMPUTER1$ = no
112 server reject aes schannel:NASBOX$ = no
113 server reject aes schannel:LEGACYCOMPUTER2$ = no
114 server reject aes schannel:HIGHPRIVACYSRV$ = yes
115 </programlisting>
116 </description>
117
118 </samba:parameter>