git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4b56a
)
r752: Remove debugging hack (make sure the cleanup test account after we
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 16 May 2004 09:43:19 +0000
(09:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:53:48 +0000
(12:53 -0500)
leave) and test that the password change actually worked.
Andrew Bartlett
source/torture/rpc/netlogon.c
patch
|
blob
|
history
diff --git
a/source/torture/rpc/netlogon.c
b/source/torture/rpc/netlogon.c
index 4ab88f08e1adf860b6d1054939ccafef090ddf29..42d79e154c8eed79edfb701f47e08e3fd86d038c 100644
(file)
--- a/
source/torture/rpc/netlogon.c
+++ b/
source/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;
}