Univention Bugzilla – Bug 55962
wbinfo -u doesn't return output with many users
Last modified: 2023-05-03 15:40:41 CEST
In domains with many users wbinfo -u doesn't return any output. log.wb-<WINDOWSDOMAIN> shows ==================================================================== 2023/03/30 13:06:19.928472, 1, pid=23789] ../../source3/rpc_client/ cli_pipe.c:554(cli_pipe_validate_current_pdu) ../../source3/rpc_client/cli_pipe.c:554: RPC fault code DCERPC_FAULT_BAD_STUB_DATA received from host <LOCALSERVERNAME>! ==================================================================== This seems to be caused by a bug in winbindd where it asks for more than the maximum of 1000 rids per request allowed by the `librpc/idl/samr.idl` (for samr_LookupRids).
log.samba showed [2023/03/30 13:06:19.928406, 1, pid=23755] ../../librpc/ndr/ndr.c:634(_ndr_pull_error) ndr_pull_samr_LookupRids: ndr_pull_error(Range Error): value out of range at librpc/gen_ndr/ndr_samr.c:8090
r20004 | new upstream patch cc1e700622 | advisory Package: samba Version: 2:4.16.8-1A~5.0.0.202304271715 Branch: ucs_5.0-0 Scope: errata5.0-3
OK: wbinfo -u now shows users if more than 1000 users exist OK: Patch by samba team OK: YAML Verified
<https://errata.software-univention.de/#/?erratum=5.0x653>