summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selftest/target/Samba3.pm2
-rw-r--r--source4/torture/winbind/struct_based.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index e1e5210696..0e1602231a 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -479,6 +479,8 @@ sub provision($$$$$$)
winbindd:socket dir = $wbsockdir
idmap uid = 100000-200000
idmap gid = 100000-200000
+ winbind enum users = yes
+ winbind enum groups = yes
# min receivefile size = 4000
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index d1ae1e5667..a80f1fa187 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -626,7 +626,7 @@ static bool torture_winbind_struct_list_users(struct torture_context *torture)
torture_comment(torture, "Running WINBINDD_LIST_USERS (struct based)\n");
ok = get_user_list(torture, &users);
- torture_assert(torture, ok, "failed to get group list");
+ torture_assert(torture, ok, "failed to get user list");
for (count = 0; users[count]; count++) { }