HEIMDAL:kdc: if we don't have an authenticator subkey for S4U2Proxy we need to use...
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Sep 2017 21:05:09 +0000 (23:05 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Feb 2018 11:52:17 +0000 (12:52 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13131

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/heimdal/kdc/krb5tgs.c

index f5b4137c2b8444163d68ac1de923baef706b81e7..d59eb9731bee0261cef6bff3374996d92e43d8e9 100644 (file)
@@ -2144,6 +2144,10 @@ server_lookup:
            goto out;
        }
 
+       if (rk_is_subkey == 0) {
+           auth_data_key = &adtkt.key;
+       }
+
        kdc_log(context, config, 0, "constrained delegation for %s "
                "from %s (%s) to %s", tpn, cpn, dpn, spn);
     }