r12091: the SMB2 specific level are not available via SMB
authorStefan Metzmacher <metze@samba.org>
Tue, 6 Dec 2005 12:33:32 +0000 (12:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:08 +0000 (13:47 -0500)
(get rid of the compiler warnings)

metze
(This used to be commit 436c5127ef7baec22377d2f1d129702597486575)

source4/smb_server/smb/trans2.c

index 44db66e6c48a1ed2e81c7e24d79e88cf54357c94..6e4322d7b3f50e49691a411e95c8c5c07fba4da5 100644 (file)
@@ -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;