s3: Call printer_list_parent_init in the parent
authorVolker Lendecke <vl@samba.org>
Thu, 7 Oct 2010 19:42:08 +0000 (21:42 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 8 Oct 2010 19:11:46 +0000 (21:11 +0200)
Simo, please check!

source3/smbd/server.c

index 106eafcccd780a0ff317c19299809c0287e163fb..cdf43203638270dccd8a1c371bb401525600ad0e 100644 (file)
@@ -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);