diff options
-rw-r--r-- | source4/torture/rap/sam.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rap/sam.c b/source4/torture/rap/sam.c index 290ba0820c..144abaabf2 100644 --- a/source4/torture/rap/sam.c +++ b/source4/torture/rap/sam.c @@ -206,6 +206,8 @@ static bool test_usergetinfo_byname(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, smbcli_rap_netusergetinfo(cli->tree, tctx, &r), "smbcli_rap_netusergetinfo failed"); + torture_assert_werr_ok(tctx, W_ERROR(r.out.status), + "smbcli_rap_netusergetinfo failed"); } return true; |