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:
parent
a6015a858d
commit
a4f21d5dc8
@ -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
|
||||
|
||||
|
@ -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++) { }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user