diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-05-16 21:30:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:53:48 -0500 |
commit | 92dd542aa01f2c3b64ca104696c731919f4d7ec7 (patch) | |
tree | 1a1e2489c32f2b8c6b4eec31a7f8dc019ebda2ed /source4/torture | |
parent | 8b84f643bd50c83230b723eb35b0edafe5670fca (diff) | |
download | samba-92dd542aa01f2c3b64ca104696c731919f4d7ec7.tar.gz samba-92dd542aa01f2c3b64ca104696c731919f4d7ec7.tar.bz2 samba-92dd542aa01f2c3b64ca104696c731919f4d7ec7.zip |
r754: Implement the SetPassword operation on the netlogon pipe.
This involves allowing the password set code in samdb to take an
already hashed password, and some fixes to our torture code.
Andrew Bartlett
(This used to be commit f9f581b5804a20785df06cde157b23c952edc2ce)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 42d79e154c..b4fbcdf01d 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -1045,6 +1045,8 @@ static BOOL test_SetPassword(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) password = generate_random_str(mem_ctx, 8); E_md4hash(password, r.in.new_password.data); + creds_des_encrypt(&creds, &r.in.new_password); + /* by changing the machine password twice we test the credentials chaining fully */ printf("Testing a second ServerPasswordSet on machine account\n"); |