diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 5219893d97..1e2d40fc42 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -880,9 +880,9 @@ static BOOL schan(struct smbcli_state *cli, mem_ctx, "%s$", s.in.computer_name); s.in.secure_channel_type = SEC_CHAN_WKSTA; E_md4hash(password, s.in.new_password.hash); - creds_des_encrypt(creds_state, &s.in.new_password); creds_state = cli_credentials_get_netlogon_creds(wks_creds); + creds_des_encrypt(creds_state, &s.in.new_password); creds_client_authenticator(creds_state, &s.in.credential); status = dcerpc_netr_ServerPasswordSet(net_pipe, mem_ctx, &s); |