Re: [cifs-protocol] About stage_header data

2011-09-19 Thread Sebastian Canevari
Hi Matthieu,

Thanks for your question, someone from my team will contact you shortly.

Regards,

Sebastian

Sebastian Canevari | Escalation Engineer | US-CSS Developer Support Core (DSC) 
Protocol Team

P +1 469 775 7849
One Microsoft Way, 98052, Redmond, WA, USA http://support.microsoft.com


From: Matthieu Patou [m...@samba.org]
Sent: Saturday, September 17, 2011 2:55 PM
To: Interoperability Documentation Help; p...@tridgell.net; 
cifs-proto...@samba.org
Subject: About stage_header data

Hello dochelp,

I have question related to the stage header structure that is sent in
the first RECEIVING_STAGE packet (for a given file/folder).

With the help of ndrdump I have this content:
./bin/ndrdump frsblobs decode_frsrpc_StageHeader in
~/workspace/samba/tcpdump/frs/header_plus_bkup
pull returned NT_STATUS_OK
 decode_frsrpc_StageHeader: struct decode_frsrpc_StageHeader
 in: struct decode_frsrpc_StageHeader
 header: struct frsrpc_StageHeader
 major: 0x (0)
 minor: 0x0003 (3)
 dataHigh : 0x (0)
 dataLow  : 0x0400 (1024)
 compression  : 0x (0)
 unused: ARRAY(6)
 [0]  : 0x00 (0)
 [1]  : 0x00 (0)
 [2]  : 0x00 (0)
 [3]  : 0x00 (0)
 [4]  : 0x00 (0)
 [5]  : 0x00 (0)
 attributes: struct fscc_FileNetworkOpenInformation
 creationTime : 0x01cc58223c9bc250
(129575393355874896)
 lastAccessTime   : 0x01cc6d34af7d2fe0
(129598562336845792)
 lastWriteTime: 0x01cc58223c9bc250
(129575393355874896)
 changeTime   : 0x01cc582533025350
(129575406079726416)
 allocSize: 0x (0)
 endOfFile: 0x (0)
 fileAttribute: 0x0010 (16)
0: FSCC_FILE_ATTRIBUTE_READONLY
0: FSCC_FILE_ATTRIBUTE_HIDDEN
0: FSCC_FILE_ATTRIBUTE_SYSTEM
0: FSCC_FILE_ATTRIBUTE_NORMAL
1: FSCC_FILE_ATTRIBUTE_DIRECTORY
0: FSCC_FILE_ATTRIBUTE_ARCHIVE
0: FSCC_FILE_ATTRIBUTE_TEMPORARY
0: FSCC_FILE_ATTRIBUTE_SPARSE_FILE
0: FSCC_FILE_ATTRIBUTE_REPARSE_POINT
0: FSCC_FILE_ATTRIBUTE_COMPRESSED
0: FSCC_FILE_ATTRIBUTE_OFFLINE
0: FSCC_FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
0: FSCC_FILE_ATTRIBUTE_ENCRYPTED
 reserved : 0x (0)
 command: struct frsrpc_CommPktChangeOrderCommand
 sequence_number  : 0x0009 (9)
 flags: 0x (0)
0: FRSRPC_CO_FLAG_ABORT_CO
0: FRSRPC_CO_FLAG_VV_ACTIVATED
0: FRSRPC_CO_FLAG_CONTENT_CMD
0: FRSRPC_CO_FLAG_LOCATION_CMD
0: FRSRPC_CO_FLAG_ONLIST
0: FRSRPC_CO_FLAG_LOCALCO
0: FRSRPC_CO_FLAG_RETRY
0: FRSRPC_CO_FLAG_OUT_OF_ORDER
0: FRSRPC_CO_FLAG_NEW_FILE
0: FRSRPC_CO_FLAG_CONTROL
0: FRSRPC_CO_FLAG_DIRECTED_CO
0: FRSRPC_CO_FLAG_VVJOIN_TO_ORIG
0: FRSRPC_CO_FLAG_SKIP_ORIG_REC_C
0: FRSRPC_CO_FLAG_MOVEIN_GEN
0: FRSRPC_CO_FLAG_MORPH_GEN_HEAD
0: FRSRPC_CO_FLAG_JUST_OID_RESET
0: FRSRPC_CO_FLAG_COMPRESSED_STAGE
0: FRSRPC_CO_FLAG_SKIP_VV_UPDATE
 iflags   : 0x (0)
0: FRSRPC_CO_IFLAG_VVRETIRE_EXEC
0: FRSRPC_CO_IFLAG_CO_ABORT
0: FRSRPC_CO_IFLAG_DIR_ENUM_PENDING
 status   :
FRSRPC_CO_STATUS_REMOTE_CO_STAGING_STARTED (0x6)
 content_cmd  : 0x (0)
0: FRSRPC_CONTENT_REASON_DATA_OVERWRITE
0: FRSRPC_CONTENT_REASON_DATA_EXTEND
0: 

Re: [cifs-protocol] flag 0x80 in the flags attribute of a remote_co part

2011-09-19 Thread Hongwei Sun
Matthieu,

   I will be working on this request.   I will send you the information shortly.

Thanks!

Hongwei

-Original Message-
From: Matthieu Patou [mailto:m...@samba.org] 
Sent: Monday, September 19, 2011 5:25 PM
To: p...@tridgell.net; cifs-proto...@samba.org; Interoperability Documentation 
Help
Subject: flag 0x80 in the flags attribute of a remote_co part

Hello dochelp,

Today while making some experiment between 2 windows servers for FRS I've seen 
an undocumented flag 0x80.

Can you tell me what this flag is ? The remote_co chunk was part of a 
REMOTE_CO_DONE

You can see the whole flag set in the attached screenshot.

Matthieu.

--
Matthieu Patou
Samba Team
http://samba.org

___
cifs-protocol mailing list
cifs-protocol@cifs.org
https://lists.samba.org/mailman/listinfo/cifs-protocol