From: David Mulder Date: Thu, 10 Mar 2022 21:22:39 +0000 (-0700) Subject: smbd: Allow disabling SMB1 in struct smbXsrv_connection X-Git-Tag: tevent-0.12.0~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b184b5e375dae41bd84ae94c62c45fc44cbd9e;p=thirdparty%2Fsamba.git smbd: Allow disabling SMB1 in struct smbXsrv_connection Signed-off-by: David Mulder Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index c127357f147..70cb1d0327a 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -387,6 +387,7 @@ struct smbXsrv_connection { struct smbd_smb2_send_queue *queue; } ack; +#if defined(WITH_SMB1SERVER) struct { struct { /* @@ -452,6 +453,7 @@ struct smbXsrv_connection { struct msg_state *msg_state; } smb1; +#endif struct { struct smbd_smb2_request_read_state { struct smbd_smb2_request *req;