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

docs: Mark 'client use spnego principal' as deprecated and also a bad idea.

Bug 10888 - smbclient doesn't ignore "not_defined_in_RFC4178@please_ignore"

https://bugzilla.samba.org/show_bug.cgi?id=10888

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
This commit is contained in:
Jeremy Allison 2015-03-19 13:09:21 -07:00
parent caaf89e899
commit c9299bd6a4
2 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,10 @@
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
@ -23,6 +27,9 @@
<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

@ -765,7 +765,7 @@ struct parm_struct parm_table[] = {
.offset = GLOBAL_VAR(client_use_spnego_principal),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
.flags = FLAG_ADVANCED | FLAG_DEPRECATED,
},
{
.label = "username",