mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
s3:smbd: don't allow SMB2 if the async echo handler is active
metze
This commit is contained in:
parent
5a069f7209
commit
0c77e3a1ba
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user