summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/libnet/userinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c
index aa5b8e8ccf..d28534f53e 100644
--- a/source4/torture/libnet/userinfo.c
+++ b/source4/torture/libnet/userinfo.c
@@ -57,7 +57,7 @@ static bool test_userinfo(struct torture_context *tctx,
user.in.domain_handle = *domain_handle;
user.in.sid = NULL;
- user.in.username = TEST_USERNAME;
+ user.in.username = user_name;
user.in.level = level;
torture_comment(tctx, "Testing sync libnet_rpc_userinfo (username argument)\n");
@@ -107,7 +107,7 @@ static bool test_userinfo_async(struct torture_context *tctx,
user.in.domain_handle = *domain_handle;
user.in.sid = NULL;
- user.in.username = TEST_USERNAME;
+ user.in.username = user_name;
user.in.level = level;
torture_comment(tctx, "Testing async libnet_rpc_userinfo (username argument)\n");