summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 5b8b42d5bf..288475e183 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2311,7 +2311,8 @@ void smbd_process(void)
char remaddr[INET6_ADDRSTRLEN];
if (lp_maxprotocol() == PROTOCOL_SMB2 &&
- lp_security() != SEC_SHARE) {
+ lp_security() != SEC_SHARE &&
+ !lp_async_smb_echo_handler()) {
smbd_server_conn->allow_smb2 = true;
}