wb_sids2xids: build state->idmap_doms based on wb_parent_idmap_config
commitc55f4f37589130a0d8952489da175bbcf53f6748
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Sep 2020 15:13:14 +0000 (10 17:13 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 23 Oct 2020 03:25:37 +0000 (23 03:25 +0000)
tree1134807b71ffeaa6eecb79db50792bc260f72910
parent3f4626ea6d235470195918b77af35ac2cfeb227c
wb_sids2xids: build state->idmap_doms based on wb_parent_idmap_config

In future we'll try to avoid wb_lookupsids_send() and only call
it if needed.

The domain name passed should be only relevant to find the correct
idmap backend, and these should all be available in
wb_parent_idmap_config as it was created before the idmap child was forked.

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