summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-08-10 09:27:24 -0400
committerAndreas Schneider <asn@samba.org>2011-08-10 18:14:06 +0200
commitc3cfa6be4769be15de4278a72b1c73c763edb21f (patch)
tree295a53f3562b5f911828e98a2a787599338cb089 /source3/smbd
parent54aaa5a58c91df4054c3cbaa238c6a83bbfb2eb7 (diff)
downloadsamba-c3cfa6be4769be15de4278a72b1c73c763edb21f.tar.gz
samba-c3cfa6be4769be15de4278a72b1c73c763edb21f.tar.bz2
samba-c3cfa6be4769be15de4278a72b1c73c763edb21f.zip
s3-printing: Do not try to force reload.
Be more correct in load printers at startup. If async process have already started we do not need to force a reload, but we just need to load the printers. If other process have not finished initializing it makes no sense to try to force them as they are masking SIGHUP unitl init is done anyway. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 24d61483e2..d396289e0d 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1260,9 +1260,9 @@ extern void build_options(bool screen);
if (!open_sockets_smbd(parent, ev_ctx, msg_ctx, ports))
exit_server("open_sockets_smbd() failed");
- /* force a printer update now that all messaging has been set up,
+ /* do a printer update now that all messaging has been set up,
* before we allow clients to start connecting */
- printing_subsystem_update(ev_ctx, msg_ctx, true);
+ printing_subsystem_update(ev_ctx, msg_ctx, false);
TALLOC_FREE(frame);
/* make sure we always have a valid stackframe */