1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

smbdotconf: finally remove unused "client use spnego principal" option

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-03-04 19:33:52 +01:00 committed by Andrew Bartlett
parent 4ff1b321ed
commit acaa24c65d
2 changed files with 0 additions and 36 deletions

View File

@ -1,35 +0,0 @@
<samba:parameter name="client use spnego principal"
context="G"
type="boolean"
deprecated="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This parameter determines whether or not
<citerefentry><refentrytitle>smbclient</refentrytitle>
<manvolnum>8</manvolnum></citerefentry> and other samba components
acting as a client will attempt to use the server-supplied
principal sometimes given in the SPNEGO exchange.</para>
<para>If enabled, Samba can attempt to use Kerberos to contact
servers known only by IP address. Kerberos relies on names, so
ordinarily cannot function in this situation. </para>
<para>This is a VERY BAD IDEA for security reasons, and so this
parameter SHOULD NOT BE USED. It will be removed in a future
version of Samba.</para>
<para>If disabled, Samba will use the name used to look up the
server when asking the KDC for a ticket. This avoids situations
where a server may impersonate another, soliciting authentication
as one principal while being known on the network as another.
</para>
<para>Note that Windows XP SP2 and later versions already follow
this behaviour, and Windows Vista and later servers no longer
supply this 'rfc4178 hint' principal on the server side.</para>
<para>This parameter is deprecated in Samba 4.2.1 and will be removed
(along with the functionality) in a later release of Samba.</para>
</description>
<value type="default">no</value>
</samba:parameter>

View File

@ -2796,7 +2796,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lpcfg_do_global_parameter(lp_ctx, "NTLMAuth", "ntlmv2-only");
lpcfg_do_global_parameter(lp_ctx, "NT hash store", "always");
lpcfg_do_global_parameter(lp_ctx, "RawNTLMv2Auth", "False");
lpcfg_do_global_parameter(lp_ctx, "client use spnego principal", "False");
lpcfg_do_global_parameter(lp_ctx, "allow dcerpc auth level connect", "False");