summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-07 21:42:08 +0200
committerVolker Lendecke <vl@samba.org>2010-10-08 21:11:46 +0200
commitef96bfe88530474a05fdb86955efa3a290f3d547 (patch)
tree33e6f28c14b9726155dc13cb56540f9705102ca4 /source3
parent812580736ac58a4f0b5d119790c53797f0a85d6e (diff)
downloadsamba-ef96bfe88530474a05fdb86955efa3a290f3d547.tar.gz
samba-ef96bfe88530474a05fdb86955efa3a290f3d547.tar.bz2
samba-ef96bfe88530474a05fdb86955efa3a290f3d547.zip
s3: Call printer_list_parent_init in the parent
Simo, please check!
Diffstat (limited to 'source3')
-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);