]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-25717 wb_sids2xids: build state->idmap_doms based on wb_parent_idmap_config
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Sep 2020 15:13:14 +0000 (17:13 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:09 +0000 (10:52 +0100)
commited1542b9f37734bc77906c4ba49ea6ea3be09af8
tree1bf13449787ca4587c5b0395832b2b4b8ff85256
parent69c53f9c3174b0a93a425dbdf80d6cb8f5722ec3
CVE-2020-25717 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>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

(cherry picked from commit c55f4f37589130a0d8952489da175bbcf53f6748)
source3/winbindd/wb_sids2xids.c