From 85d7863b2c2420bd652d73ab4ec230f709acae73 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Thu, 10 Jun 2010 02:02:06 +0300 Subject: 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 --- source4/torture/libnet/userman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture') 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; } -- cgit