diff options
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r-- | source3/printing/printing.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index f1e2aeb265..ac9e768092 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -28,6 +28,7 @@ #include "../librpc/gen_ndr/netlogon.h" #include "printing/notify.h" #include "printing/pcap.h" +#include "printing/printer_list.h" #include "printing/queue_process.h" #include "serverid.h" #include "smbd/smbd.h" @@ -197,6 +198,10 @@ bool print_backend_init(struct messaging_context *msg_ctx) int services = lp_numservices(); int snum; + if (!printer_list_parent_init()) { + return false; + } + unlink(cache_path("printing.tdb")); mkdir(cache_path("printing"),0755); |