--- source3/nmbd/nmbd.c.orig 2014-06-23 10:03:27.000000000 +0400 +++ source3/nmbd/nmbd.c 2015-02-09 20:41:38.801956179 +0400 @@ -384,6 +384,8 @@ reload_nmbd_services( True ); } + reopen_logs(); + return(ret); } @@ -866,6 +868,8 @@ exit(1); } + reopen_logs(); + if (nmbd_messaging_context() == NULL) { return 1; } .