summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-30 23:49:29 +0000
committerJeremy Allison <jra@samba.org>2003-07-30 23:49:29 +0000
commit29ca70cd34d3ba927ea1a9915ebd247f64965bd5 (patch)
tree6771fb7dbb2efbf224c46cb8ce9010c20f799d15 /source3/include
parentd6ee1d167c81d3b632af0415445745a180d58b3c (diff)
downloadsamba-29ca70cd34d3ba927ea1a9915ebd247f64965bd5.tar.gz
samba-29ca70cd34d3ba927ea1a9915ebd247f64965bd5.tar.bz2
samba-29ca70cd34d3ba927ea1a9915ebd247f64965bd5.zip
Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/popt_common.h1
-rw-r--r--source3/include/smb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/popt_common.h b/source3/include/popt_common.h
index 57850bf682..6db30fbc0a 100644
--- a/source3/include/popt_common.h
+++ b/source3/include/popt_common.h
@@ -41,6 +41,7 @@ struct user_auth_info {
pstring password;
BOOL got_pass;
BOOL use_kerberos;
+ int signing_state;
};
extern struct user_auth_info cmdline_auth_info;
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 6a1d816898..deeb61034d 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -42,6 +42,7 @@
#define SMB_PORT2 139
#define SMB_PORTS "445 139"
+#define Undefined (-1)
#define False (0)
#define True (1)
#define Auto (2)