summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 106eafcccd..cdf4320363 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -31,6 +31,7 @@
#include "secrets.h"
#include "memcache.h"
#include "ctdbd_conn.h"
+#include "printing/printer_list.h"
#include "../librpc/gen_ndr/srv_dfs.h"
#include "../librpc/gen_ndr/srv_dssetup.h"
@@ -1140,6 +1141,10 @@ extern void build_options(bool screen);
exit(1);
}
+ if (!printer_list_parent_init()) {
+ exit(1);
+ }
+
if (!W_ERROR_IS_OK(registry_init_full()))
exit(1);