winbind: Test wbinfo -u with more than 1000 users
authorVolker Lendecke <vl@samba.org>
Thu, 27 Apr 2023 10:25:24 +0000 (12:25 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 9 May 2023 01:59:32 +0000 (01:59 +0000)
commitf633389f36e79d3e772777ad7ca13012e3616273
treefa7bec2ee4bd6c54a392ac286dc1b694674a2920
parent5ac65fdf9acb286a152032cc8913b5ce28fe30fc
winbind: Test wbinfo -u with more than 1000 users

winbind asks dcerpc_samr_LookupRids in one batch, where samr.idl has

NTSTATUS samr_LookupRids(
[in,ref]      policy_handle *domain_handle,
[in,range(0,1000)] uint32 num_rids,
[in,size_is(1000),length_is(num_rids)] uint32 rids[],
[out,ref]     lsa_Strings *names,
[out,ref]     samr_Ids *types
);

limiting num_rids to 1000 entries. Test this.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15366

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail.d/wbinfo_u_large_ad [new file with mode: 0644]
source3/script/tests/test_wbinfo_u_large_ad.sh [new file with mode: 0755]
source4/selftest/tests.py