mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
SMB2 doesn't have NAME_INFORMATION level
This commit is contained in:
parent
5754cc1351
commit
a431d51b11
@ -216,6 +216,10 @@ static NTSTATUS pvfs_map_fileinfo(struct pvfs_state *pvfs,
|
||||
|
||||
case RAW_FILEINFO_NAME_INFO:
|
||||
case RAW_FILEINFO_NAME_INFORMATION:
|
||||
if (req->ctx->protocol == PROTOCOL_SMB2) {
|
||||
/* strange that SMB2 doesn't have this */
|
||||
return NT_STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
info->name_info.out.fname.s = name->original_name;
|
||||
return NT_STATUS_OK;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user