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

s3: smbd: Add an SMB2 server flag posix_extensions_negotiated.

This allows the server to only enable smb2 unix open handles if
the smb.conf parameter is set and the client client correctly
negotiated smb2 unix on the connection.

Currently there is no "smb2 unix extensions" parameter so
this can never be set to true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Jeremy Allison 2022-01-27 10:55:18 -08:00 committed by Andreas Schneider
parent e4e5539e40
commit e9ad189694

View File

@ -532,6 +532,7 @@ struct smbXsrv_connection {
uint32_t max_write;
uint16_t sign_algo;
uint16_t cipher;
bool posix_extensions_negotiated;
} server;
struct smbXsrv_preauth preauth;