]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-25717 winbindd: defer the setup_child() from init_idmap_child()
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Sep 2020 13:42:42 +0000 (15:42 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:09 +0000 (10:52 +0100)
commit3812930e641d10d1ead10b52ddc7240dd585d0f6
treeeaff1a635f389097bb8972c218754028a6e532ea
parentbe81631363655e3437cae4303ab39c22500165fd
CVE-2020-25717 winbindd: defer the setup_child() from init_idmap_child()

At startup we trigger a wb_parent_idmap_setup_send() and make
sure setup_child() is called just before wb_parent_idmap_setup_recv()
finished.

This makes sure our view of the idmap config in the parent matches
what we have in the child.

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 28e020c0a863411cfa95e3b1ed943d922b8635bd)
source3/winbindd/winbindd_idmap.c