From a3797ff66a1b3b19329a622fa38b5a073328e003 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 8 Jul 2006 12:34:31 +0000 Subject: r16875: implement SMB2 Find in the frontend metze (This used to be commit 58bed7322c7e552d0462a11ce5d46a282c31f8f7) --- source4/libcli/raw/interfaces.h | 9 +++++++++ source4/libcli/smb2/smb2_calls.h | 4 ---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'source4/libcli') diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h index f77d31a1c7..27b3510371 100644 --- a/source4/libcli/raw/interfaces.h +++ b/source4/libcli/raw/interfaces.h @@ -2224,6 +2224,12 @@ union smb_search_first { #define SMB2_FIND_NAME_INFO 0x0C #define SMB2_FIND_ID_BOTH_DIRECTORY_INFO 0x25 #define SMB2_FIND_ID_FULL_DIRECTORY_INFO 0x26 + +/* flags for RAW_FILEINFO_SMB2_ALL_EAS */ +#define SMB2_CONTINUE_FLAG_RESTART 0x01 +#define SMB2_CONTINUE_FLAG_SINGLE 0x02 +#define SMB2_CONTINUE_FLAG_NEW 0x10 + /* SMB2 Find */ struct smb2_find { enum smb_search_level level; @@ -2306,6 +2312,9 @@ union smb_search_next { uint16_t end_of_search; } out; } t2fnext; + + /* SMB2 Find */ + struct smb2_find smb2; }; /* union for search reply file data */ diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h index f870ddb38a..abb7f88ee2 100644 --- a/source4/libcli/smb2/smb2_calls.h +++ b/source4/libcli/smb2/smb2_calls.h @@ -57,10 +57,6 @@ struct smb2_negprot { #define SMB2_GETINFO_FS 0x02 #define SMB2_GETINFO_SECURITY 0x03 -/* flags for RAW_FILEINFO_SMB2_ALL_EAS */ -#define SMB2_CONTINUE_FLAG_RESTART 0x01 -#define SMB2_CONTINUE_FLAG_SINGLE 0x02 - /* NOTE! the getinfo fs and file levels exactly match up with the 'passthru' SMB levels, which are levels >= 1000. The SMB2 client lib uses the names from the libcli/raw/ library */ -- cgit