summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-26 09:28:10 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-26 11:27:12 +0200
commit0d9bd56afb8ecb1d42fad4f344b1892bf01b153e (patch)
treec4fb41e79df0d749d989712274095d66874f6855 /libcli
parent44689b1ee78e9197db5ef041dbc5e0e2aa8e61f7 (diff)
downloadsamba-0d9bd56afb8ecb1d42fad4f344b1892bf01b153e.tar.gz
samba-0d9bd56afb8ecb1d42fad4f344b1892bf01b153e.tar.bz2
samba-0d9bd56afb8ecb1d42fad4f344b1892bf01b153e.zip
libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.h
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb_constants.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h
index bde66dc879..e7898f89c7 100644
--- a/libcli/smb/smb_constants.h
+++ b/libcli/smb/smb_constants.h
@@ -196,6 +196,12 @@ enum smb_signing_setting {
/* used to indicate end of chain */
#define SMB_CHAIN_NONE 0xFF
+/* Sercurity mode bits. */
+#define NEGOTIATE_SECURITY_USER_LEVEL 0x01
+#define NEGOTIATE_SECURITY_CHALLENGE_RESPONSE 0x02
+#define NEGOTIATE_SECURITY_SIGNATURES_ENABLED 0x04
+#define NEGOTIATE_SECURITY_SIGNATURES_REQUIRED 0x08
+
/* Capabilities. see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */
#define CAP_RAW_MODE 0x00000001