]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs: Mark 'client use spnego principal' as deprecated and also a bad idea.
authorJeremy Allison <jra@samba.org>
Thu, 19 Mar 2015 20:09:21 +0000 (13:09 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2015 22:11:15 +0000 (23:11 +0100)
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>
(cherry picked from commit c9299bd6a4e86dbec10ab7741056f331a18c44a0)

docs-xml/smbdotconf/security/clientusepsnegoprincipal.xml
lib/param/param_table.c

index 6ec1eb111658a245af75dc5ce6a1045c97b51364..792a7386f364f3dda8f5b5a4d684a61372e7f982 100644 (file)
     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>
index 8e3f952b6ec95fabab107be6688de6d472ac1765..d590bd11e4514220c0f977367e0612d0d8312c50 100644 (file)
@@ -739,7 +739,7 @@ static 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",