summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-10 02:02:06 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-06-11 01:20:09 +0300
commit85d7863b2c2420bd652d73ab4ec230f709acae73 (patch)
treec7b778a4e9965ddaa04eb6e0b1ea2e9db8732613 /source4/torture
parent61e5ac4a5a1d4a2bb59297cd28288ef1460d1ea4 (diff)
downloadsamba-85d7863b2c2420bd652d73ab4ec230f709acae73.tar.gz
samba-85d7863b2c2420bd652d73ab4ec230f709acae73.tar.bz2
samba-85d7863b2c2420bd652d73ab4ec230f709acae73.zip
s4/test: Call test_user_cleanup with original RDN for the user
'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
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/libnet/userman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index 0faca57e8c..42664a3ae4 100644
--- 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;
}