From: Gerald Carter Date: Fri, 12 Nov 2004 17:39:32 +0000 (+0000) Subject: r3708: BUG 1838: patch from Gavrie Philipson to remove stale... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5602 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bcb9105c5488a97944d2dfee8681d662e9c9b818;p=thirdparty%2Fsamba.git r3708: BUG 1838: patch from Gavrie Philipson to remove stale printers when reloading after a sighup --- diff --git a/source/smbd/server.c b/source/smbd/server.c index 82da85767bd..e40d1f8bc7f 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -482,9 +482,10 @@ BOOL reload_services(BOOL test) return(True); lp_killunused(conn_snum_used); - + ret = lp_load(dyn_CONFIGFILE, False, False, True); + remove_stale_printers(); load_printers(); /* perhaps the config filename is now set */