git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e5ac4
)
s4/test: Call test_user_cleanup with original RDN for the user
author
Kamen Mazdrashki
<kamenim@samba.org>
Wed, 9 Jun 2010 23:02:06 +0000
(
02:02
+0300)
committer
Kamen Mazdrashki
<kamenim@samba.org>
Thu, 10 Jun 2010 22:20:09 +0000
(
01:20
+0300)
'name' var is changed during the test execution and should
contain samAccountName for the user, while test_user_cleanup()
expects account RDN to be passed
source4/torture/libnet/userman.c
patch
|
blob
|
history
diff --git
a/source4/torture/libnet/userman.c
b/source4/torture/libnet/userman.c
index 0faca57e8ca477695c8105e24a7d4a47091a4407..42664a3ae4df89bc7bd7824c47778e2429170a57 100644
(file)
--- a/
source4/torture/libnet/userman.c
+++ b/
source4/torture/libnet/userman.c
@@
-459,7
+459,7
@@
bool torture_usermod(struct torture_context *torture)
}
cleanup:
- if (!test_user_cleanup(torture, b, mem_ctx, &h,
name
)) {
+ if (!test_user_cleanup(torture, b, mem_ctx, &h,
TEST_USERNAME
)) {
ret = false;
goto done;
}