BUG: https://bugzilla.samba.org/show_bug.cgi?id=15287
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
state.cli.sock = fdpair[0];
close(fdpair[1]);
+ /* Reset traceid and deactivate call_depth tracking */
+ if (lp_winbind_debug_traceid()) {
+ debug_traceid_set(1);
+ tevent_thread_call_depth_deactivate();
+ }
+
status = winbindd_reinit_after_fork(child, child->logfilename);
/* setup callbacks again, one of them is removed in reinit_after_fork */