mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
smbd: check is POSIX is enabled on the fsp in fsinfo_unix_valid_level()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
01022d036f
commit
55d98b29eb
@ -1952,7 +1952,9 @@ static bool fsinfo_unix_valid_level(connection_struct *conn,
|
||||
uint16_t info_level)
|
||||
{
|
||||
if (conn->sconn->using_smb2 &&
|
||||
info_level == SMB2_FS_POSIX_INFORMATION_INTERNAL) {
|
||||
fsp->posix_flags == FSP_POSIX_FLAGS_OPEN &&
|
||||
info_level == SMB2_FS_POSIX_INFORMATION_INTERNAL)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
#if defined(SMB1SERVER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user