From 872f9c4f91731f122cfb2efc9e5a2d391408e916 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 5 Oct 2009 22:14:06 +0200 Subject: Revert "s3: Attempt to fix machine password change" This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75. Ooops, this should not have been committed. --- source3/libsmb/trusts_util.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source3/libsmb/trusts_util.c') diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c index d9b75704e3..adf1525812 100644 --- a/source3/libsmb/trusts_util.c +++ b/source3/libsmb/trusts_util.c @@ -46,9 +46,11 @@ NTSTATUS trust_pw_change_and_store_it(struct rpc_pipe_client *cli, TALLOC_CTX *m E_md4hash(new_trust_passwd, new_trust_passwd_hash); - nt_status = rpccli_netlogon_auth_set_trust_password( - cli, mem_ctx, orig_trust_passwd_hash, new_trust_passwd, - new_trust_passwd_hash, sec_channel_type); + nt_status = rpccli_netlogon_set_trust_password(cli, mem_ctx, + orig_trust_passwd_hash, + new_trust_passwd, + new_trust_passwd_hash, + sec_channel_type); if (NT_STATUS_IS_OK(nt_status)) { DEBUG(3,("%s : trust_pw_change_and_store_it: Changed password.\n", -- cgit