summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/negprot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index a58744281c..236b4d6692 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -743,7 +743,8 @@ void reply_negprot(struct smb_request *req)
TALLOC_FREE(cliprotos);
- if (lp_async_smb_echo_handler() && !fork_echo_handler(sconn)) {
+ if (lp_async_smb_echo_handler() && (get_Protocol() < PROTOCOL_SMB2) &&
+ !fork_echo_handler(sconn)) {
exit_server("Failed to fork echo handler");
}