]> git.ipfire.org Git - thirdparty/samba.git/commit
wb_sids2xids: fill cache as soon as possible
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Sep 2020 21:06:02 +0000 (23:06 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 23 Oct 2020 03:25:37 +0000 (03:25 +0000)
commit3f4626ea6d235470195918b77af35ac2cfeb227c
treec2b943babd4ff4f88f4f14538d098115e3ec789b
parent374acc2e5fcc3c4b40f41906d0349499e3304841
wb_sids2xids: fill cache as soon as possible

After adding entries to the cache we can mark them
as filled from the cache by setting its domain_index
to UINT32_MAX.

This will allow further changes to fill the results
into state->all_ids in steps.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/winbindd/wb_sids2xids.c