1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3:smbd: don't allow SMB2 if the async echo handler is active

metze
This commit is contained in:
Stefan Metzmacher 2010-03-22 09:06:07 +01:00
parent 5a069f7209
commit 0c77e3a1ba

View File

@ -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;
}