From 4a5868f3ca240d796e1172030c383ed73016a54d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 26 Jan 2007 15:58:10 +0000 Subject: r21033: To make the logs a bit more readable let the winbind dc connect child write to a separate logfile. Guenther (This used to be commit 0313edc0d66c26b5acb6250e0f146218a02b42cd) --- source3/nsswitch/winbindd_cm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 79c260a308..2875e725e4 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -201,6 +201,9 @@ static BOOL fork_child_dc_connect(struct winbindd_domain *domain) close_conns_after_fork(); if (!override_logfile) { + pstring logfile; + pstr_sprintf(logfile, "%s/log.winbindd-dc-connect", dyn_LOGFILEBASE); + lp_set_logfile(logfile); reopen_logs(); } -- cgit