git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f4077a0
)
SMB2 doesn't have NAME_INFORMATION level
author
Andrew Tridgell
<tridge@samba.org>
Wed, 28 May 2008 11:48:40 +0000
(21:48 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 28 May 2008 11:48:40 +0000
(21:48 +1000)
(This used to be commit
a431d51b113c2e214ccfe7a678ba0a565b020263
)
source4/ntvfs/posix/pvfs_qfileinfo.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_qfileinfo.c
b/source4/ntvfs/posix/pvfs_qfileinfo.c
index c6634669852c80572e5bdb79fe55a0bc5a62c288..b9f763c2e0f06b999d903c840824fff79d8a0dba 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_qfileinfo.c
+++ b/
source4/ntvfs/posix/pvfs_qfileinfo.c
@@
-216,6
+216,10
@@
static NTSTATUS pvfs_map_fileinfo(struct pvfs_state *pvfs,
case RAW_FILEINFO_NAME_INFO:
case RAW_FILEINFO_NAME_INFORMATION:
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;
info->name_info.out.fname.s = name->original_name;
return NT_STATUS_OK;