summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/connection.c1
-rw-r--r--source3/smbd/reply.c2
-rw-r--r--source3/smbd/server.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c
index 5bb76eb3bd..fc5fe9d741 100644
--- a/source3/smbd/connection.c
+++ b/source3/smbd/connection.c
@@ -222,7 +222,6 @@ BOOL register_message_flags(BOOL doreg, uint32 msg_flags)
}
pcrec = (struct connections_data *)dbuf.dptr;
- pcrec->bcast_msg_flags = msg_flags;
if (doreg)
pcrec->bcast_msg_flags |= msg_flags;
else
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 74872eeea9..611fb04c19 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -242,7 +242,7 @@ int reply_special(char *inbuf,char *outbuf)
reload_services(True);
reopen_logs();
- claim_connection(NULL,"",0,True,FLAG_MSG_GENERAL|FLAG_MSG_SMBD);
+ claim_connection(NULL,"",0,True,FLAG_MSG_GENERAL|FLAG_MSG_SMBD|FLAG_MSG_PRINT_GENERAL);
already_got_session = True;
break;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 16281dd86c..0fe633bb96 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -846,6 +846,8 @@ void build_options(BOOL screen);
exit(1);
/* Setup the main smbd so that we can get messages. */
+ /* don't worry about general printing messages here */
+
claim_connection(NULL,"",0,True,FLAG_MSG_GENERAL|FLAG_MSG_SMBD);
/* only start the background queue daemon if we are