summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-08 16:06:05 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 08:33:12 +0200
commita8836cae917ddd03f9e8d0934bb0cf329643e60a (patch)
treec85793ec39970580873e442fbe26a8a28d21910d /source3/include
parent91cba0235f7f20f8a9dec9dffaca7e5329107ad6 (diff)
downloadsamba-a8836cae917ddd03f9e8d0934bb0cf329643e60a.tar.gz
samba-a8836cae917ddd03f9e8d0934bb0cf329643e60a.tar.bz2
samba-a8836cae917ddd03f9e8d0934bb0cf329643e60a.zip
s3:include: add some masks for SMB1 CAP_* flags
The flags are devided into 3 sections: - client only flags - flags used in both directions - server only flags metze
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index c88b3fd743..75008fed1e 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1239,6 +1239,31 @@ http://msdn.microsoft.com/en-us/library/cc246334(PROT.13).aspx
#define CAP_DYNAMIC_REAUTH 0x20000000
#define CAP_EXTENDED_SECURITY 0x80000000
+#define SMB_CAP_BOTH_MASK ( \
+ CAP_UNICODE | \
+ CAP_NT_SMBS | \
+ CAP_STATUS32 | \
+ CAP_LEVEL_II_OPLOCKS | \
+ CAP_EXTENDED_SECURITY | \
+ 0)
+#define SMB_CAP_SERVER_MASK ( \
+ CAP_RAW_MODE | \
+ CAP_MPX_MODE | \
+ CAP_LARGE_FILES | \
+ CAP_RPC_REMOTE_APIS | \
+ CAP_LOCK_AND_READ | \
+ CAP_NT_FIND | \
+ CAP_DFS | \
+ CAP_W2K_SMBS | \
+ CAP_LARGE_READX | \
+ CAP_LARGE_WRITEX | \
+ CAP_LWIO | \
+ CAP_UNIX | \
+ 0)
+#define SMB_CAP_CLIENT_MASK ( \
+ CAP_DYNAMIC_REAUTH | \
+ 0)
+
/* printing types */
enum printing_types {PRINT_BSD,PRINT_SYSV,PRINT_AIX,PRINT_HPUX,
PRINT_QNX,PRINT_PLP,PRINT_LPRNG,PRINT_SOFTQ,