mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r752: Remove debugging hack (make sure the cleanup test account after we
leave) and test that the password change actually worked. Andrew Bartlett
This commit is contained in:
parent
aa4b56a873
commit
a93c70154a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user