From 0c77e3a1bae728de3f48bdce4a82d85007ea9b45 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 22 Mar 2010 09:06:07 +0100 Subject: s3:smbd: don't allow SMB2 if the async echo handler is active metze --- source3/smbd/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit