summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/security/clientusepsnegoprincipal.xml
blob: 8e9edd2730d033f7bd708243ca1bddced51b1d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<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>