summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/libnet/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/libnet/utils.c b/source4/torture/libnet/utils.c
index 4c4499cc81..dfc5923f2a 100644
--- a/source4/torture/libnet/utils.c
+++ b/source4/torture/libnet/utils.c
@@ -385,8 +385,8 @@ bool test_group_create(struct torture_context *tctx,
if (!NT_STATUS_IS_OK(r.out.result)) {
torture_comment(tctx, "CreateGroup failed - %s\n", nt_errstr(r.out.result));
- if (NT_STATUS_EQUAL(r.out.result, NT_STATUS_USER_EXISTS)) {
- torture_comment(tctx, "Group (%s) already exists - attempting to delete and recreate account again\n", name);
+ if (NT_STATUS_EQUAL(r.out.result, NT_STATUS_GROUP_EXISTS)) {
+ torture_comment(tctx, "Group (%s) already exists - attempting to delete and recreate group again\n", name);
if (!test_group_cleanup(tctx, b, mem_ctx, handle, name)) {
return false;
}