winbind: Use forall_children in reinit_after_fork()
authorVolker Lendecke <vl@samba.org>
Mon, 26 Feb 2018 12:45:01 +0000 (13:45 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 1 Mar 2018 08:53:45 +0000 (09:53 +0100)
commit09677053f7f0e3a6c007a59b9ac08fc159f79c9d
tree7b947bc1dbeca99ebd67065b2ea3119007d41884
parent0e6d3a59eb9d526018852ee0a349e64d51eb0f56
winbind: Use forall_children in reinit_after_fork()

This removes the special handling for idmap_child() after the "This is
a little tricky" comment. I believe this was not required at all, the
idmap_child is part of the winbindd_children list.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_dual.c