if (!(conn->sconn->using_smb2)) {
return NT_STATUS_INVALID_LEVEL;
}
- if (!lp_smb3_unix_extensions()) {
- return NT_STATUS_INVALID_LEVEL;
- }
/* Determine the size of the posix info context */
plen = store_smb2_posix_info(conn,
uint16_t info_level)
{
if (conn->sconn->using_smb2 &&
- lp_smb3_unix_extensions() &&
- info_level == SMB2_FS_POSIX_INFORMATION_INTERNAL) {
+ info_level == SMB2_FS_POSIX_INFORMATION_INTERNAL) {
return true;
}
#if defined(SMB1SERVER)
ok = true;
}
- if (lp_smb3_unix_extensions() &&
- (fsp != NULL) &&
+ if ((fsp != NULL) &&
(fsp->posix_flags & FSP_POSIX_FLAGS_OPEN)) {
DBG_DEBUG("SMB2 posix open\n");
ok = true;
if (!(conn->sconn->using_smb2)) {
return NT_STATUS_INVALID_LEVEL;
}
- if (!lp_smb3_unix_extensions()) {
- return NT_STATUS_INVALID_LEVEL;
- }
if (fsp == NULL) {
return NT_STATUS_INVALID_HANDLE;
}