summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 10:35:28 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 10:35:28 +0000
commite90b65284812aaa5ff9e9935ce9bbad7791cbbcd (patch)
tree9e744d1dc2f93934a4b49166a37383d3cb2b2139 /source3/include/client.h
parentec167dc9cc0ec2ee461837c25a371d2981744208 (diff)
downloadsamba-e90b65284812aaa5ff9e9935ce9bbad7791cbbcd.tar.gz
samba-e90b65284812aaa5ff9e9935ce9bbad7791cbbcd.tar.bz2
samba-e90b65284812aaa5ff9e9935ce9bbad7791cbbcd.zip
updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r--source3/include/client.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index 0974cd0666..711ae1fd19 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -57,6 +57,15 @@ struct print_job_info
time_t t;
};
+typedef struct smb_sign_info {
+ BOOL use_smb_signing;
+ BOOL negotiated_smb_signing;
+ size_t mac_key_len;
+ uint8 mac_key[44];
+ uint32 send_seq_num;
+ uint32 reply_seq_num;
+} smb_sign_info;
+
struct cli_state {
int port;
int fd;
@@ -69,7 +78,6 @@ struct cli_state {
int rap_error;
int privileges;
- fstring eff_name;
fstring desthost;
fstring user_name;
fstring domain;
@@ -109,6 +117,8 @@ struct cli_state {
TALLOC_CTX *mem_ctx;
+ smb_sign_info sign_info;
+
/*
* Only used in NT domain calls.
*/
@@ -145,4 +155,8 @@ struct cli_state {
fstring pipe_name;
};
+#define CLI_FULL_CONNECTION_DONT_SPNEGO 0x0001
+#define CLI_FULL_CONNECTION_USE_KERBEROS 0x0002
+#define CLI_FULL_CONNECTION_ANNONYMOUS_FALLBACK 0x0004
+
#endif /* _CLIENT_H */