s3:netlogon: replace cred_hash3 by des_crypt112_16
[obnox/samba-ctdb.git] / source / libsmb / trusts_util.c
index 0535d1b521ed91727c35a09fbfffd2a3ba6b455a..687cf8417284a6c95d93002c969223c7816ae387 100644 (file)
@@ -90,9 +90,9 @@ static NTSTATUS just_change_the_password(struct rpc_pipe_client *cli, TALLOC_CTX
 
                netlogon_creds_client_step(cli->dc, &clnt_creds);
 
-               cred_hash3(new_password.hash,
-                          new_trust_passwd_hash,
-                          cli->dc->sess_key, 1);
+               des_crypt112_16(new_password.hash,
+                               new_trust_passwd_hash,
+                               cli->dc->sess_key, 1);
 
                result = rpccli_netr_ServerPasswordSet(cli, mem_ctx,
                                                       cli->dc->remote_machine,