summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/samsync.c')
-rw-r--r--source4/torture/rpc/samsync.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index 90c451429a..980e085268 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -509,20 +509,13 @@ static bool samsync_handle_user(struct torture_context *tctx, TALLOC_CTX *mem_ct
"GetGroupsForUser failed");
if (!test_samr_handle_Close(samsync_state->b_samr, tctx, &user_handle)) {
- torture_comment(tctx, "samr_handle_Close failed - %s\n",
- nt_errstr(nt_status));
+ torture_comment(tctx, "samr_handle_Close failed\n");
ret = false;
}
if (!ret) {
return false;
}
- if (!NT_STATUS_IS_OK(nt_status)) {
- torture_comment(tctx, "QueryUserInfo level %u failed - %s\n",
- q.in.level, nt_errstr(nt_status));
- return false;
- }
-
TEST_STRING_EQUAL(info->info21.account_name, user->account_name);
TEST_STRING_EQUAL(info->info21.full_name, user->full_name);
TEST_INT_EQUAL(info->info21.rid, user->rid);