summaryrefslogtreecommitdiffstats
path: root/libcli/smb/smb_constants.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-06 19:34:50 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-11 13:41:34 +1100
commitb21b012756dbb9e7022280b34d7103a5dcbea6d6 (patch)
treeda02a819454751095f72dde2235dd05e76c3c966 /libcli/smb/smb_constants.h
parent6bed57788c2341a92e1c4431ea764bf037431254 (diff)
downloadsamba-b21b012756dbb9e7022280b34d7103a5dcbea6d6.tar.gz
samba-b21b012756dbb9e7022280b34d7103a5dcbea6d6.tar.xz
samba-b21b012756dbb9e7022280b34d7103a5dcbea6d6.zip
lib/param move source4 param code to the top level
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
Diffstat (limited to 'libcli/smb/smb_constants.h')
-rw-r--r--libcli/smb/smb_constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/smb/smb_constants.h b/libcli/smb/smb_constants.h
index 187ba568b7..c9b466cfb7 100644
--- a/libcli/smb/smb_constants.h
+++ b/libcli/smb/smb_constants.h
@@ -46,6 +46,10 @@ enum protocol_types {
PROTOCOL_SMB2_22
};
+enum smb_signing_setting {
+ SMB_SIGNING_OFF, SMB_SIGNING_SUPPORTED,
+ SMB_SIGNING_REQUIRED, SMB_SIGNING_AUTO};
+
/* NT Flags2 bits - cifs6.txt section 3.1.2 */
#define FLAGS2_LONG_PATH_COMPONENTS 0x0001
#define FLAGS2_EXTENDED_ATTRIBUTES 0x0002