summaryrefslogtreecommitdiffstats
path: root/source3/libnet
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-10-05 22:14:06 +0200
committerVolker Lendecke <vl@samba.org>2009-10-05 22:14:06 +0200
commit872f9c4f91731f122cfb2efc9e5a2d391408e916 (patch)
treefed53c678a63ab3be482dab743c9ecc07425dd2a /source3/libnet
parent5bafaa73f6dda13b05744b177cb18a310cb2f749 (diff)
downloadsamba-872f9c4f91731f122cfb2efc9e5a2d391408e916.tar.gz
samba-872f9c4f91731f122cfb2efc9e5a2d391408e916.tar.xz
samba-872f9c4f91731f122cfb2efc9e5a2d391408e916.zip
Revert "s3: Attempt to fix machine password change"
This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75. Ooops, this should not have been committed.
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 70b28e39888..8c3030711bf 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -788,10 +788,11 @@ static NTSTATUS libnet_join_joindomain_rpc_unsecure(TALLOC_CTX *mem_ctx,
E_md4hash(trust_passwd, orig_trust_passwd_hash);
- status = rpccli_netlogon_auth_set_trust_password(
- pipe_hnd, mem_ctx, orig_trust_passwd_hash,
- r->in.machine_password, new_trust_passwd_hash,
- r->in.secure_channel_type);
+ status = rpccli_netlogon_set_trust_password(pipe_hnd, mem_ctx,
+ orig_trust_passwd_hash,
+ r->in.machine_password,
+ new_trust_passwd_hash,
+ r->in.secure_channel_type);
return status;
}