Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

Location:
vendor/current/libcli/smb
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/libcli/smb/smb2_constants.h

    r414 r740  
    2929#define SMB2_HDR_STATUS         0x08
    3030#define SMB2_HDR_OPCODE         0x0c
    31 #define SMB2_HDR_CREDIT         0x0e
     31#define SMB2_HDR_CREDIT         0x0e
    3232#define SMB2_HDR_FLAGS          0x10
    3333#define SMB2_HDR_NEXT_COMMAND   0x14
     
    3838#define SMB2_HDR_SIGNATURE      0x30 /* 16 bytes */
    3939#define SMB2_HDR_BODY           0x40
     40
     41/* offsets into header elements for an async SMB2 request */
     42#define SMB2_HDR_ASYNC_ID       0x20
    4043
    4144/* header flags */
     
    8285#define SMB2_CAP_DFS                     0x00000001
    8386#define SMB2_CAP_LEASING                 0x00000002 /* only in dialect 0x210 */
     87#define SMB2_CAP_LARGE_MTU               0x00000004 /* only in dialect 0x210 */
    8488/* so we can spot new caps as added */
    8589#define SMB2_CAP_ALL                     SMB2_CAP_DFS
     
    8892#define SMB2_SESSION_FLAG_IS_GUEST       0x0001
    8993#define SMB2_SESSION_FLAG_IS_NULL        0x0002
     94
     95/* SMB2 sharetype flags */
     96#define SMB2_SHARE_TYPE_DISK            0x1
     97#define SMB2_SHARE_TYPE_PIPE            0x2
     98#define SMB2_SHARE_TYPE_PRINT           0x3
    9099
    91100/* SMB2 share flags */
     
    101110#define SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM       0x0800
    102111#define SMB2_SHAREFLAG_ALL                               0x0F33
     112
     113/* SMB2 share capafilities */
     114#define SMB2_SHARE_CAP_DFS              0x8
    103115
    104116/* SMB2 create security flags */
     
    173185#define SMB2_GETINFO_QUOTA              0x04
    174186
     187#define SMB2_CLOSE_FLAGS_FULL_INFORMATION (0x01)
     188
    175189#endif
Note: See TracChangeset for help on using the changeset viewer.