diff options
author | Günther Deschner <gd@samba.org> | 2008-10-29 01:34:49 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-29 08:57:52 +0100 |
commit | 556b5bb9eead7785fe0d2cdfe465239ccb4f60b9 (patch) | |
tree | 83c639249fcf3b8c50c706093230c4bbd36b4e50 /source4/rpc_server/netlogon | |
parent | 1798e9d7ec259396e9188714c1b3742f24e3ecfd (diff) | |
download | samba-556b5bb9eead7785fe0d2cdfe465239ccb4f60b9.tar.gz samba-556b5bb9eead7785fe0d2cdfe465239ccb4f60b9.tar.bz2 samba-556b5bb9eead7785fe0d2cdfe465239ccb4f60b9.zip |
s4-netlogon: merge netr_ServerPasswordSet from s3 idl.
Guenther
Diffstat (limited to 'source4/rpc_server/netlogon')
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 8dc11a6f6a..206553ff31 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -354,7 +354,7 @@ static NTSTATUS dcesrv_netr_ServerPasswordSet(struct dcesrv_call_state *dce_call nt_status = dcesrv_netr_creds_server_step_check(dce_call->event_ctx, dce_call->conn->dce_ctx->lp_ctx, r->in.computer_name, mem_ctx, - &r->in.credential, &r->out.return_authenticator, + r->in.credential, r->out.return_authenticator, &creds); NT_STATUS_NOT_OK_RETURN(nt_status); @@ -363,13 +363,13 @@ static NTSTATUS dcesrv_netr_ServerPasswordSet(struct dcesrv_call_state *dce_call return NT_STATUS_INVALID_SYSTEM_SERVICE; } - creds_des_decrypt(creds, &r->in.new_password); + creds_des_decrypt(creds, r->in.new_password); /* Using the sid for the account as the key, set the password */ nt_status = samdb_set_password_sid(sam_ctx, mem_ctx, creds->sid, NULL, /* Don't have plaintext */ - NULL, &r->in.new_password, + NULL, r->in.new_password, true, /* Password change */ NULL, NULL); return nt_status; |