1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3 selftest: Allow the enumeration of users and groups

This fixes the WINBINDD_GETPWENT test.
This commit is contained in:
Kai Blin 2010-01-13 15:21:14 +01:00
parent a6015a858d
commit a4f21d5dc8
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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++) { }