diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 4ab88f08e1..42d79e154c 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -180,8 +180,6 @@ static BOOL leave_domain_bdc(TALLOC_CTX *mem_ctx) struct samr_DeleteUser d; NTSTATUS status; - return True; - d.in.handle = &join.acct_handle; d.out.handle = &join.acct_handle; @@ -1066,6 +1064,11 @@ static BOOL test_SetPassword(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) join.machine_password = password; + if (!test_SetupCredentials(p, mem_ctx, &creds)) { + printf("ServerPasswordSet failed to actually change the password\n"); + return False; + } + return True; } |