summaryrefslogtreecommitdiff
path: root/source3/libsmb/trusts_util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-04 15:47:33 +0200
committerVolker Lendecke <vl@samba.org>2009-10-05 22:12:20 +0200
commit20a8ea91e10af167067cc794a251265aaf489e75 (patch)
tree688425cc91fd6497e43483e194f73a10f4295c63 /source3/libsmb/trusts_util.c
parent3fa1d7332c19d0521b8da9f2cd8162260f0ab660 (diff)
downloadsamba-20a8ea91e10af167067cc794a251265aaf489e75.tar.gz
samba-20a8ea91e10af167067cc794a251265aaf489e75.tar.bz2
samba-20a8ea91e10af167067cc794a251265aaf489e75.zip
s3: Attempt to fix machine password change
Diffstat (limited to 'source3/libsmb/trusts_util.c')
-rw-r--r--source3/libsmb/trusts_util.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c
index adf1525812..d9b75704e3 100644
--- a/source3/libsmb/trusts_util.c
+++ b/source3/libsmb/trusts_util.c
@@ -46,11 +46,9 @@ 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_set_trust_password(cli, mem_ctx,
- orig_trust_passwd_hash,
- new_trust_passwd,
- new_trust_passwd_hash,
- sec_channel_type);
+ 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);
if (NT_STATUS_IS_OK(nt_status)) {
DEBUG(3,("%s : trust_pw_change_and_store_it: Changed password.\n",