summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-06 12:33:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:08 -0500
commite5adca67f255555533934c1eb56268af8bd527a3 (patch)
treef54883055820c6dcdb61726eb8ee032e076202b7 /source4
parent3adb3013b158ed0fa67e6e87240a1648c6416d64 (diff)
downloadsamba-e5adca67f255555533934c1eb56268af8bd527a3.tar.gz
samba-e5adca67f255555533934c1eb56268af8bd527a3.tar.bz2
samba-e5adca67f255555533934c1eb56268af8bd527a3.zip
r12091: the SMB2 specific level are not available via SMB
(get rid of the compiler warnings) metze (This used to be commit 436c5127ef7baec22377d2f1d129702597486575)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb/trans2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/smb_server/smb/trans2.c b/source4/smb_server/smb/trans2.c
index 44db66e6c4..6e4322d7b3 100644
--- a/source4/smb_server/smb/trans2.c
+++ b/source4/smb_server/smb/trans2.c
@@ -742,6 +742,10 @@ static NTSTATUS trans2_fileinfo_fill(struct smbsrv_request *req, struct smb_tran
case RAW_FILEINFO_UNIX_BASIC:
case RAW_FILEINFO_UNIX_LINK:
return NT_STATUS_INVALID_LEVEL;
+
+ case RAW_FILEINFO_SMB2_ALL_EAS:
+ case RAW_FILEINFO_SMB2_ALL_INFORMATION:
+ return NT_STATUS_INVALID_LEVEL;
}
return NT_STATUS_INVALID_LEVEL;