diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-28 21:48:40 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-28 21:48:40 +1000 |
commit | 86d69fd4b642860c3092a79ebbfb02544043b82d (patch) | |
tree | a9cf8331b83d0224c11e4d7400bc83dc4942f77d /source4 | |
parent | f4077a05cbdb0a7bb0cc9baf120d26e026f86b9b (diff) | |
download | samba-86d69fd4b642860c3092a79ebbfb02544043b82d.tar.gz samba-86d69fd4b642860c3092a79ebbfb02544043b82d.tar.bz2 samba-86d69fd4b642860c3092a79ebbfb02544043b82d.zip |
SMB2 doesn't have NAME_INFORMATION level
(This used to be commit a431d51b113c2e214ccfe7a678ba0a565b020263)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/posix/pvfs_qfileinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_qfileinfo.c b/source4/ntvfs/posix/pvfs_qfileinfo.c index c663466985..b9f763c2e0 100644 --- 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: + 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; |