]> 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>
Tue, 27 Jun 2017 14:57:43 +0000 (16:57 +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>
source3/libnet/libnet_join.c

index 37645a7790f1dc2076ff1eee908bccf5ef9682d7..a5e863a4c7a06a769ad11d03ba707e09c90d3a4c 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);
 }