1
0
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:
Andrew Bartlett 2004-05-16 09:43:19 +00:00 committed by Gerald (Jerry) Carter
parent aa4b56a873
commit a93c70154a

View File

@ -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;
}