]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libnet_join: remember r->out.krb5_salt in libnet_join_derive_salting_principal()
authorStefan Metzmacher <metze@samba.org>
Thu, 18 May 2017 13:40:25 +0000 (15:40 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 08:51:17 +0000 (10:51 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12782

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 549c9d9a07d3002442cbbb7a90d0a7fef4a92bff)

source3/libnet/libnet_join.c

index 5010571fb067ad231d241dc6e716aea33e7016f5..4d5c030ffb6f3de8f19116838de8a0357442b31d 100644 (file)
@@ -864,6 +864,7 @@ static bool libnet_join_derive_salting_principal(TALLOC_CTX *mem_ctx,
                }
        }
 
+       r->out.krb5_salt = salt;
        return kerberos_secrets_store_des_salt(salt);
 }