s3-winbind: avoid talloc_tos in fork_domain_child
authorDavid Disseldorp <ddiss@samba.org>
Tue, 16 Apr 2013 11:11:00 +0000 (13:11 +0200)
committerDavid Disseldorp <ddiss@samba.org>
Tue, 16 Apr 2013 13:51:57 +0000 (15:51 +0200)
commit7d293cb18c5eb2b7435c59951274e992d6d46b31
treed7bfef44047417a801b550eadef1c9b5d6048682
parent2ff4ca0ab632a3d67f8af405d051e9a5a90605b7
s3-winbind: avoid talloc_tos in fork_domain_child

In preparation for asynchronous dispatch support, the fork_domain_child
code path should not rely on talloc_tos. This commit also changes the
function to only call winbind_event_context() once after initialisation.
source3/winbindd/winbindd_dual.c